Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

openining keyboard overflows pixels in flutter

Widget build(BuildContext context) {
  return Scaffold(
    body: SingleChildScrollView(
      physics: NeverScrollableScrollPhysics(),
      child: ConstrainedBox(
        constraints: BoxConstraints(
          minWidth: MediaQuery.of(context).size.width,
          minHeight: MediaQuery.of(context).size.height,
        ),
        child: IntrinsicHeight(
          child: Column(
            mainAxisSize: MainAxisSize.max,
            children: <Widget>[
              // CONTENT HERE
            ],
          ),
        ),
      ),
    ),
  );
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #openining #keyboard #overflows #pixels #flutter
ADD COMMENT
Topic
Name
8+5 =