content: import 'package:flutter/material.dart';
  
  main() => runApp(new ShowSimpleDialogWidget());
  
  class ShowSimpleDialogWidget extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return new MaterialApp(
        title: 'Test',
        home: new Scaffold(
            appBar: new AppBar(title: new Text('Test')),
            body: Builder(
              builder: (context) {
                return RaisedButton(
                  onPressed: () {
                    showDialog(
                        context: context,
                        builder: (context) => SimpleDialog(
                              title: Text('SimpleDialog Demo'),
                              children: <Widget>[
                                SimpleDialogOption(
                                  child: Text('OK'),
                                  onPressed: () {
                                    Navigator.of(context).pop();
                                  },
                                ),
                                SimpleDialogOption(
                                  child: Text('CANCEL'),
                                  onPressed: () {
                                    Navigator.of(context).pop();
                                  },
                                )
                              ],
                            ));
                  },
                  child: Text('showDialog'),
                );
              },
            )),
      );
    }
  }
  