More messing around.
This commit is contained in:
		| @@ -35,7 +35,6 @@ class _MainAppState extends State<MainApp> { | |||||||
|       DropdownMenuEntry(value: Recurrence.biweekly, label: "Biweekly"), |       DropdownMenuEntry(value: Recurrence.biweekly, label: "Biweekly"), | ||||||
|       DropdownMenuEntry(value: Recurrence.montly, label: "Monthly"), |       DropdownMenuEntry(value: Recurrence.montly, label: "Monthly"), | ||||||
|       DropdownMenuEntry(value: Recurrence.yearly, label: "Yearly"), |       DropdownMenuEntry(value: Recurrence.yearly, label: "Yearly"), | ||||||
|       DropdownMenuEntry(value: null, label: ""), |  | ||||||
|     ]; |     ]; | ||||||
|  |  | ||||||
|     return const MaterialApp( |     return const MaterialApp( | ||||||
| @@ -48,7 +47,10 @@ class _MainAppState extends State<MainApp> { | |||||||
|                 height: inputHeight, |                 height: inputHeight, | ||||||
|                 child: TextField( |                 child: TextField( | ||||||
|                   keyboardType: TextInputType.text, |                   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 |                   // https://docs.flutter.dev/cookbook/forms/retrieve-input | ||||||
|                   //controller: nameFieldController, |                   //controller: nameFieldController, | ||||||
|                 )), |                 )), | ||||||
| @@ -57,7 +59,8 @@ class _MainAppState extends State<MainApp> { | |||||||
|               height: inputHeight, |               height: inputHeight, | ||||||
|               child: TextField( |               child: TextField( | ||||||
|                 keyboardType: TextInputType.numberWithOptions(decimal: true), |                 keyboardType: TextInputType.numberWithOptions(decimal: true), | ||||||
|                 decoration: InputDecoration(labelText: "Cost", hintText: "Example: 10.00"), |                 decoration: InputDecoration( | ||||||
|  |                     labelText: "Cost", hintText: "Example: 10.00"), | ||||||
|               ), |               ), | ||||||
|             ), |             ), | ||||||
|             DropdownMenu( |             DropdownMenu( | ||||||
| @@ -71,7 +74,11 @@ class _MainAppState extends State<MainApp> { | |||||||
|                 height: inputHeight, |                 height: inputHeight, | ||||||
|                 child: TextField( |                 child: TextField( | ||||||
|                   keyboardType: TextInputType.text, |                   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." | ||||||
|  |                     ), | ||||||
|                 )), |                 )), | ||||||
|           ]), |           ]), | ||||||
|         ), |         ), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user