Closed krzysiek-alm closed 4 years ago
Hi,
When I set border in searchDecoration I receive following error message: A RenderFlex overflowed by 7.0 pixels on the bottom.
Please have a look at the screen how it looks on the device:
To reproduce this issue please run following code: (Without enabledBorder and focusedBorder there will not be any error.)
Widget build(BuildContext context) { return MaterialApp( title: 'Country Picker', theme: ThemeData(primaryColor: Colors.white), home: Scaffold( body: Builder( builder: (context) => Center( child: CountryCodePicker( searchDecoration: _getSearchInputDecoration(), ), )), )); } InputDecoration _getSearchInputDecoration() { final inputBorder = OutlineInputBorder( borderSide: BorderSide( color: Color(0xFFDCE6EA), ), ); return InputDecoration( border: InputBorder.none, hintText: "search", focusedBorder: inputBorder, enabledBorder: inputBorder, ); }
this has been fixed and a new release will be published asap
Hi,
When I set border in searchDecoration I receive following error message: A RenderFlex overflowed by 7.0 pixels on the bottom.
Please have a look at the screen how it looks on the device:
To reproduce this issue please run following code: (Without enabledBorder and focusedBorder there will not be any error.)