From b98c59407e1b0f607ecd5d1b8fdd1b5aaa97af47 Mon Sep 17 00:00:00 2001 From: AkkusMert <45667945+AkkusMert@users.noreply.github.com> Date: Wed, 9 Nov 2022 11:55:05 +0100 Subject: [PATCH] deleted unused method --- lib/main.dart | 41 ----------------------------------------- 1 file changed, 41 deletions(-) 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 = "";