mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Fix overflow issue
This commit is contained in:
parent
31dfec89ee
commit
025e5bdf1c
@ -102,20 +102,25 @@ Future<String> askUserString({
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (c) => AlertDialog(
|
builder: (c) => AlertDialog(
|
||||||
title: Text(title),
|
title: Text(title),
|
||||||
content: Column(
|
content: Container(
|
||||||
children: <Widget>[
|
height: MediaQuery.of(context).size.height - 50,
|
||||||
Text(message),
|
child: SingleChildScrollView(
|
||||||
TextField(
|
child: Column(
|
||||||
controller: controller,
|
children: <Widget>[
|
||||||
maxLines: null,
|
Text(message),
|
||||||
maxLength: 200,
|
TextField(
|
||||||
keyboardType: TextInputType.text,
|
controller: controller,
|
||||||
decoration: InputDecoration(
|
maxLines: null,
|
||||||
labelText: hint,
|
maxLength: 200,
|
||||||
alignLabelWithHint: true,
|
keyboardType: TextInputType.text,
|
||||||
),
|
decoration: InputDecoration(
|
||||||
)
|
labelText: hint,
|
||||||
],
|
alignLabelWithHint: true,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
FlatButton(
|
FlatButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user