diff --git a/lib/utils/ui_utils.dart b/lib/utils/ui_utils.dart index ac3ab4c..ea72824 100644 --- a/lib/utils/ui_utils.dart +++ b/lib/utils/ui_utils.dart @@ -102,20 +102,25 @@ Future askUserString({ context: context, builder: (c) => AlertDialog( title: Text(title), - content: Column( - children: [ - Text(message), - TextField( - controller: controller, - maxLines: null, - maxLength: 200, - keyboardType: TextInputType.text, - decoration: InputDecoration( - labelText: hint, - alignLabelWithHint: true, - ), - ) - ], + content: Container( + height: MediaQuery.of(context).size.height - 50, + child: SingleChildScrollView( + child: Column( + children: [ + Text(message), + TextField( + controller: controller, + maxLines: null, + maxLength: 200, + keyboardType: TextInputType.text, + decoration: InputDecoration( + labelText: hint, + alignLabelWithHint: true, + ), + ) + ], + ), + ), ), actions: [ FlatButton(