More messing around.

This commit is contained in:
Hyperling 2025-01-30 20:56:01 -07:00
parent 3b7313ca10
commit 8a2dfc2131

View File

@ -35,7 +35,6 @@ class _MainAppState extends State<MainApp> {
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<MainApp> {
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<MainApp> {
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<MainApp> {
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."
),
)),
]),
),