Try to search your question here, if you can't find : Ask Any Question Now ?

Show Alert_Dialog in bottom of view

HomeCategory: stackoverflowShow Alert_Dialog in bottom of view
Avatargaurav asked 5 months ago

I Have an Alert dialog menu which contain a grid view containing some button, I need my Alert dialog to be shown on bottom of page not in the middle. My question is how to do it.

  Widget _buildAboutDialog(BuildContext context)  {
    return new AlertDialog(

  content: Container(
    width: MediaQuery.of(context).size.width * 0.9,
    height: MediaQuery.of(context).size.height * 0.25,
    child: Column(
      mainAxisSize: MainAxisSize.min,
        children: <Widget>[
    child: new GridView.count(
      crossAxisCount: 4,
        children: new List<Widget>.generate(8, (index) {
              return new GridTile(
                  child: new Card(
                  child: new Center(
                  child: new Text('$index'),
      ) ],

1 Answers
Best Answer
AvatarAmit answered 5 months ago
Your Answer

5 + 18 =

Popular Tags

WP Facebook Auto Publish Powered By :