Files
FlutterUnit/lib/painter_system/anim/curve_shower/point_data.dart
2021-09-27 09:38:18 +08:00

16 lines
263 B
Dart

import 'package:flutter/cupertino.dart';
class PointData extends ChangeNotifier {
final List<double> values = [];
void push(double value) {
values.add(value);
notifyListeners();
}
void clear() {
values.clear();
notifyListeners();
}
}