Skip to content

Instantly share code, notes, and snippets.

@Anirudhk07
Created June 17, 2020 19:44
Show Gist options
  • Save Anirudhk07/28e0fb792e52e25aa4175d9474452ff6 to your computer and use it in GitHub Desktop.
Save Anirudhk07/28e0fb792e52e25aa4175d9474452ff6 to your computer and use it in GitHub Desktop.
import 'package:flutter/foundation.dart';
class MySchedule extends ChangeNotifier {
double _stateManagementValue = 0;
double get stateManagementValue => _stateManagementValue;
set stateManagementValue(double value) {
_stateManagementValue = value;
notifyListeners();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment