deleted unused method
parent
24f7c97a00
commit
b98c59407e
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue