diff --git a/lib/main.dart b/lib/main.dart index 8aff605..b7cd0ac 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -35,7 +35,6 @@ class _MainAppState extends State { DropdownMenuEntry(value: Recurrence.biweekly, label: "Biweekly"), DropdownMenuEntry(value: Recurrence.montly, label: "Monthly"), DropdownMenuEntry(value: Recurrence.yearly, label: "Yearly"), - DropdownMenuEntry(value: null, label: ""), ]; return const MaterialApp( @@ -48,7 +47,10 @@ class _MainAppState extends State { height: inputHeight, child: TextField( keyboardType: TextInputType.text, - decoration: InputDecoration(labelText: "Name", hintText: "Example: Red Pocket Phone Bill", ), + decoration: InputDecoration( + labelText: "Name", + hintText: "Example: Red Pocket Phone Bill", + ), // https://docs.flutter.dev/cookbook/forms/retrieve-input //controller: nameFieldController, )), @@ -57,7 +59,8 @@ class _MainAppState extends State { height: inputHeight, child: TextField( keyboardType: TextInputType.numberWithOptions(decimal: true), - decoration: InputDecoration(labelText: "Cost", hintText: "Example: 10.00"), + decoration: InputDecoration( + labelText: "Cost", hintText: "Example: 10.00"), ), ), DropdownMenu( @@ -71,7 +74,11 @@ class _MainAppState extends State { height: inputHeight, child: TextField( keyboardType: TextInputType.text, - decoration: InputDecoration(labelText: "Description", hintText: "Example: 1GB data with unlimited talk & text."), + decoration: InputDecoration( + labelText: "Description", + hintText: + "Example: 1GB data with unlimited talk & text." + ), )), ]), ),