Fix widget overflow in new Act
This commit is contained in:
@@ -38,9 +38,7 @@ class _NewActivity extends State<NewActivity> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text('New Activity')),
|
||||
body: Container(
|
||||
height: MediaQuery.of(context).size.height,
|
||||
child: Column(
|
||||
body:Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
@@ -48,7 +46,6 @@ class _NewActivity extends State<NewActivity> {
|
||||
flex: 9,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.vertical,
|
||||
child: Expanded(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.fromLTRB(20, 50, 20, 50),
|
||||
child: Column(
|
||||
@@ -234,7 +231,7 @@ class _NewActivity extends State<NewActivity> {
|
||||
]),
|
||||
],
|
||||
)),
|
||||
)),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 1,
|
||||
@@ -278,7 +275,7 @@ class _NewActivity extends State<NewActivity> {
|
||||
],
|
||||
)),
|
||||
)
|
||||
])));
|
||||
]));
|
||||
}
|
||||
|
||||
Widget QuickTimeButton(text, {Function}){
|
||||
|
||||
Reference in New Issue
Block a user