Last active
May 11, 2019 02:01
-
-
Save jacobaraujo7/4f1072f93e3e0392106d45025b1dff3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:bloc_pattern/bloc_pattern.dart'; | |
| class ValueBloc extends BlocBase { | |
| double value = 0.0; | |
| onChangeValue(double v) { | |
| value = v; | |
| notifyListeners(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment