Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

increase height of bottom sheet flutter

showModalBottomSheet<dynamic>(
isScrollControlled: true,
context: context,
builder: (BuildContext bc) {
  return Wrap(
      children: <Widget>[
          Container(
                 child: Container(
                  decoration: new BoxDecoration(
                    color: forDialog ? Color(0xFF737373) : Colors.white,
                    borderRadius: new BorderRadius.only(
                          topLeft: const Radius.circular(25.0),
                          topRight: const Radius.circular(25.0))),
                    child: yourWidget(),
                 ),
              )
      ]
   )
 }
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #increase #height #bottom #sheet #flutter
ADD COMMENT
Topic
Name
2+3 =