diff --git a/example/lib/pages/home_page.dart b/example/lib/pages/home_page.dart index 9de4e2d..1356bef 100644 --- a/example/lib/pages/home_page.dart +++ b/example/lib/pages/home_page.dart @@ -30,7 +30,7 @@ class HomePage extends StatelessWidget { builder: (_, store, status) => switch (status) { VxStatus.loading => 'loading...', _ => store.user.name.isNotEmpty - ? 'username: ${store.user.name}' + ? 'Username: ${store.user.name}' : 'no data', } .text diff --git a/example/lib/pages/profile_page.dart b/example/lib/pages/profile_page.dart index 105dd6c..8890a00 100644 --- a/example/lib/pages/profile_page.dart +++ b/example/lib/pages/profile_page.dart @@ -17,7 +17,7 @@ class ProfilePage extends StatelessWidget { VxBuilder( mutations: const {GetUser, UpdateName}, builder: (context, store, status) { - return 'current name: ${store.user.name}' + return 'Current name: ${store.user.name}' .text .xl2 .makeCentered()