RenderFlex在底部溢出了40个像素。 I /颤振(3890): 溢出的RenderFlex的方向为Axis.vertical。
I / flutter(3890):正在溢出的RenderFlex的边缘具有 在呈现中用黄色和
标记
final dateField =
DateTimePickerFormField(
format: dateFormat,
style: style,
onChanged: (value) {
setState(() {
userData.expirydate = value.toString();
});
},
decoration: InputDecoration(
prefixIcon: Padding(
padding: EdgeInsets.only(left: 5.0),
child: Icon(
Icons.calendar_today,
color: Colors.grey,
),
),
contentPadding: EdgeInsets.fromLTRB(20.0, 15.0, 20.0, 15.0),
hintText: "Expiry Date",
border:
OutlineInputBorder(borderRadius: BorderRadius.circular(32.0))),
);
body: Builder(
builder: (context) => SingleChildScrollView(
scrollDirection: Axis.vertical,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
Container(
child: Padding(
padding: const EdgeInsets.only(top: 30.0, bottom: 70.0),
child: ListView(
shrinkWrap: false,
padding: const EdgeInsets.all(20.0),
children: <Widget>[dateField,...]...