flutter_built_redux icon indicating copy to clipboard operation
flutter_built_redux copied to clipboard

Added a few callbacks

Open smiLLe opened this issue 6 years ago • 1 comments

I was missing a few callbacks i found useful in flutter_redux. So here are:

  • onInit
  • onFirstBuild
  • onDidChange
  • onDispose

Implemented for StoreConnector and StoreConnection. I also added tests, however i am no expert in flutter tests :)

smiLLe avatar Jan 22 '19 15:01 smiLLe

Codecov Report

Merging #38 into master will increase coverage by 5.35%. The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
+ Coverage   85.71%   91.07%   +5.35%     
==========================================
  Files           1        1              
  Lines          35       56      +21     
==========================================
+ Hits           30       51      +21     
  Misses          5        5
Impacted Files Coverage Δ
lib/flutter_built_redux.dart 91.07% <92.85%> (+5.35%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6903b31...551b69e. Read the comment docs.

codecov-io avatar Jan 22 '19 15:01 codecov-io