mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix overflow issue
This commit is contained in:
		@@ -102,20 +102,25 @@ Future<String> askUserString({
 | 
			
		||||
      context: context,
 | 
			
		||||
      builder: (c) => AlertDialog(
 | 
			
		||||
            title: Text(title),
 | 
			
		||||
            content: Column(
 | 
			
		||||
              children: <Widget>[
 | 
			
		||||
                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: <Widget>[
 | 
			
		||||
                    Text(message),
 | 
			
		||||
                    TextField(
 | 
			
		||||
                      controller: controller,
 | 
			
		||||
                      maxLines: null,
 | 
			
		||||
                      maxLength: 200,
 | 
			
		||||
                      keyboardType: TextInputType.text,
 | 
			
		||||
                      decoration: InputDecoration(
 | 
			
		||||
                        labelText: hint,
 | 
			
		||||
                        alignLabelWithHint: true,
 | 
			
		||||
                      ),
 | 
			
		||||
                    )
 | 
			
		||||
                  ],
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
            ),
 | 
			
		||||
            actions: <Widget>[
 | 
			
		||||
              FlatButton(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user