diff --git a/my_yaru_app/lib/main.dart b/my_yaru_app/lib/main.dart index 08172e2..bbf7f49 100644 --- a/my_yaru_app/lib/main.dart +++ b/my_yaru_app/lib/main.dart @@ -35,9 +35,15 @@ class _Home extends StatelessWidget { length: 2, tileBuilder: (context, index, selected, availableWidth) { if (index == 0) { - return YaruMasterTile(title: Text('Page 1')); + return YaruMasterTile( + title: Text('Home'), + leading: Icon(YaruIcons.home), + ); } else { - return YaruMasterTile(title: Text('Page 2')); + return YaruMasterTile( + title: Text('Page 2'), + leading: Icon(YaruIcons.video_filled), + ); } }, pageBuilder: (context, index) {