Answers for "make drawer scrollable - Flutter"

0

make drawer scrollable - Flutter

endDrawer: Drawer(
          child: Column(
            children: <Widget>[
              new Text('Notifications',
                  style: new TextStyle(
                  fontSize: 24.0,
                  fontWeight: FontWeight.bold,
                ),
                textAlign: TextAlign.center,
              ),
              Flexible(
                child: ListView(
                  children: List.generate(20, (i)=>ListTile(
                    title: Text('Notification $i'),
                  )),
                ),
              )
            ],
          ),
        ),
Posted by: Guest on March-06-2022

Code answers related to "make drawer scrollable - Flutter"

Browse Popular Code Answers by Language