diff --git a/lib/main.dart b/lib/main.dart index 6374933..d970dee 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -6,47 +6,6 @@ void main() { runApp(const EnergyProviderApp()); } -class EnergyModel extends ChangeNotifier { - String startheight = ""; - String endheight = ""; - String startspeed=""; - String endspeed=""; - String weight=""; - - EnergyModel(){ - startheight; - endheight; - startspeed; - endspeed; - weight; - } - - void setStartheight(String input){ - startheight=input; - } - - void setEndheight(String input){ - endheight= input; - } - - void setStartspeed(String input){ - startspeed=input; - } - - void setEndspeed(String input){ - endspeed=input; - } - - void setWeight(String input){ - weight=input; - } - - void changeInput(String input) { - startheight = input; - notifyListeners(); - } -} - class KineticModel extends ChangeNotifier{ String startheight = ""; String endheight = "";