Actually starting to look pretty good!?
This commit is contained in:
parent
26f688cfe9
commit
811313dc2c
@ -22,65 +22,39 @@ class MainApp extends StatelessWidget {
|
||||
|
||||
return const MaterialApp(
|
||||
home: Scaffold(
|
||||
body: Column(mainAxisSize: MainAxisSize.min, children: [
|
||||
Text('Input an expense below!'),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text("Name: "),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 50,
|
||||
child: TextField(
|
||||
keyboardType: TextInputType.text,
|
||||
)),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text("Cost: "),
|
||||
SizedBox(
|
||||
body: Center(
|
||||
child: Column(mainAxisSize: MainAxisSize.min, spacing: 10, children: [
|
||||
Text('Input an expense below!'),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 50,
|
||||
child: TextField(
|
||||
keyboardType: TextInputType.numberWithOptions(decimal: true),
|
||||
),
|
||||
keyboardType: TextInputType.text,
|
||||
decoration: InputDecoration(hintText: "Expense Name"),
|
||||
)),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 50,
|
||||
child: TextField(
|
||||
keyboardType: TextInputType.numberWithOptions(decimal: true),
|
||||
decoration: InputDecoration(hintText: "Expense Cost"),
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text("Recurrance: "),
|
||||
SizedBox(
|
||||
width: 100,
|
||||
height: 50,
|
||||
child: DropdownMenu(dropdownMenuEntries: recurranceValues)),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text("Description: "),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 50,
|
||||
child: TextField(
|
||||
keyboardType: TextInputType.text,
|
||||
)),
|
||||
],
|
||||
),
|
||||
|
||||
|
||||
SizedBox()
|
||||
|
||||
|
||||
]),
|
||||
),
|
||||
DropdownMenu(
|
||||
dropdownMenuEntries: recurranceValues,
|
||||
hintText: "Recurrance",
|
||||
width: 400,
|
||||
menuHeight: 50,
|
||||
),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 50,
|
||||
child: TextField(
|
||||
keyboardType: TextInputType.text,
|
||||
decoration: InputDecoration(hintText: "Expense Description"),
|
||||
)),
|
||||
]),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user