mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
14 lines
340 B
Dart
14 lines
340 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class PlateConfiguration extends ChangeNotifier {
|
|
//olympic standard weights
|
|
List<double> _plateWeights = [1.25, 2.5, 5, 10, 15, 20, 25];
|
|
|
|
List<double> get plateWeights => _plateWeights;
|
|
|
|
void setPlateWeights(List<double> weights) {
|
|
_plateWeights = weights;
|
|
notifyListeners();
|
|
}
|
|
}
|