我无法使用SingleChildScrollView
通过堆栈小部件滚动它,
我使用了Positioned()
和Column()
小部件并带有堆栈
Positioned()
用于取消,菜单,注销小部件,
和Column()
用于“ GAIN OF DAY”,“ PROFILE”和“ CONTACT US”按钮。
代码:
body: Stack(
children: <Widget>[
Positioned(
top: 20.0,
left: 10.0,
child: // cancel icon
),
Positioned(
top: 60.0,
child: //MENU WIDGET
),
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
GestureDetector(
//GAIN OF THE DAY ICON BUTTON
),
GestureDetector(
//PROFILE PAGE BUTTON
)
],
),
GestureDetector(
//CONTACT US BUTTON
),
],
),
Positioned(
// LOG OUT WIDGET
),
],
),