13 lines
254 B
Dart
13 lines
254 B
Dart
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class InputProvider extends ChangeNotifier {
|
||
|
double _sliderValue = 50;
|
||
|
|
||
|
double get sliderValue => _sliderValue;
|
||
|
|
||
|
set sliderValue(double newValue) {
|
||
|
_sliderValue = newValue;
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|