This commit is contained in:
xster 2017-03-02 12:46:43 -08:00 committed by GitHub
parent 8916b101f3
commit e55c7239ec
2 changed files with 9 additions and 1 deletions

View File

@ -69,6 +69,7 @@ class _CupertinoDialogDemoState extends State<CupertinoDialogDemo> {
new CupertinoButton( new CupertinoButton(
child: new Text('Alert with Title'), child: new Text('Alert with Title'),
color: CupertinoButton.kBlue, color: CupertinoButton.kBlue,
padding: new EdgeInsets.symmetric(vertical: 16.0, horizontal: 36.0),
onPressed: () { onPressed: () {
showDemoDialog<String>( showDemoDialog<String>(
context: context, context: context,

View File

@ -18,7 +18,7 @@ final List<String> demoTitles = <String>[
'Pesto', 'Pesto',
'Shrine', 'Shrine',
'Contact profile', 'Contact profile',
// Components // Material Components
'Bottom navigation', 'Bottom navigation',
'Buttons', 'Buttons',
'Cards', 'Cards',
@ -46,6 +46,12 @@ final List<String> demoTitles = <String>[
'Tabs', 'Tabs',
'Text fields', 'Text fields',
'Tooltips', 'Tooltips',
// Cupertino Components
'Activity Indicator',
'Buttons',
'Dialogs',
'Sliders',
'Switches',
// Style // Style
'Colors', 'Colors',
'Typography' 'Typography'
@ -54,6 +60,7 @@ final List<String> demoTitles = <String>[
// Subset of [demoTitles] that needs frameSync turned off. // Subset of [demoTitles] that needs frameSync turned off.
final List<String> unsynchedDemoTitles = <String>[ final List<String> unsynchedDemoTitles = <String>[
'Progress indicators', 'Progress indicators',
'Activity Indicator',
]; ];
final FileSystem _fs = const LocalFileSystem(); final FileSystem _fs = const LocalFileSystem();