mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-22 20:02:53 +00:00
finished alert dialog
This commit is contained in:
parent
c4e2a7977b
commit
861acd4393
@ -4,6 +4,7 @@ class ShowAlertDialog extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text('Type your alert'),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
child: Text('Cancel'),
|
||||
@ -18,11 +19,14 @@ class ShowAlertDialog extends StatelessWidget {
|
||||
},
|
||||
)
|
||||
],
|
||||
content: TextField(
|
||||
maxLines: 5,
|
||||
autofocus: true,
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
content: Container(
|
||||
constraints: BoxConstraints(maxWidth: 500),
|
||||
child: TextField(
|
||||
maxLines: 5,
|
||||
autofocus: true,
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user