Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusrp98 committed Apr 28, 2019
1 parent 61434ce commit 9178f8d
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ class HomePage extends StatelessWidget {
RowItem.icon('Firefox', true),
Separator.spacer(),
RowItem.icon('Chrome', false),
Separator.spacer(),
RowItem.icon('Opera', null),
Separator.divider(),
RowItem.icon(
'Firefox',
Expand All @@ -102,12 +100,6 @@ class HomePage extends StatelessWidget {
false,
iconColor: Theme.of(context).accentColor,
),
Separator.spacer(),
RowItem.icon(
'Opera',
null,
iconColor: Theme.of(context).accentColor,
),
],
),
),
Expand All @@ -123,9 +115,20 @@ class HomePage extends StatelessWidget {
'Click here',
onTap: () => print('Clicked!'),
),
Separator.divider(),
Separator.spacer(),
RowItem.clickable(
'iOS',
'Click here',
onTap: () => print('Clicked!'),
),
Separator.divider(),
RowItem.clickable(
'Windows Phone',
'Don\'t click',
),
Separator.spacer(),
RowItem.clickable(
'Symbian',
'Don\'t click',
),
],
Expand Down

0 comments on commit 9178f8d

Please sign in to comment.