mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-23 12:22:49 +00:00
31 lines
665 B
Dart
31 lines
665 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class ShowAlertDialog extends StatelessWidget {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return AlertDialog(
|
||
|
actions: <Widget>[
|
||
|
FlatButton(
|
||
|
child: Text('Cancel'),
|
||
|
onPressed: () {
|
||
|
Navigator.of(context).pop();
|
||
|
},
|
||
|
),
|
||
|
FlatButton(
|
||
|
child: Text('Show'),
|
||
|
onPressed: () {
|
||
|
Navigator.of(context).pop();
|
||
|
},
|
||
|
)
|
||
|
],
|
||
|
content: TextField(
|
||
|
maxLines: 5,
|
||
|
autofocus: true,
|
||
|
decoration: InputDecoration(
|
||
|
border: OutlineInputBorder(),
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|