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
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
title: Text('Type your alert'),
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
FlatButton(
|
FlatButton(
|
||||||
child: Text('Cancel'),
|
child: Text('Cancel'),
|
||||||
@ -18,11 +19,14 @@ class ShowAlertDialog extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
content: TextField(
|
content: Container(
|
||||||
maxLines: 5,
|
constraints: BoxConstraints(maxWidth: 500),
|
||||||
autofocus: true,
|
child: TextField(
|
||||||
decoration: InputDecoration(
|
maxLines: 5,
|
||||||
border: OutlineInputBorder(),
|
autofocus: true,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
border: OutlineInputBorder(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user