Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadsunny1 committed Feb 1, 2024
1 parent ebabe19 commit 949ce67
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
1 change: 0 additions & 1 deletion lib/basic_widgets_catalog_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ class _BasicWidgetCatalogPageState extends State<BasicWidgetCatalogPage> {
),
),
),

],
),
WidgetShowcase(
Expand Down
1 change: 0 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class MyApp extends StatelessWidget {
return MaterialApp.router(
routerConfig: router,
title: 'Sunny\'s Playground',

);
}
}
25 changes: 12 additions & 13 deletions lib/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ class Routes {
var router = GoRouter(
routes: [
GoRoute(
path: Routes.home,
builder: (context, state) => const WidgetCatalogPage(),
routes: [
GoRoute(
path: Routes.animationWidgets,
builder: (context, state) => const AnimationWidgetsPage(),
),
GoRoute(
path: Routes.basicWidgets,
builder: (context, state) => const BasicWidgetCatalogPage(),
),
]
),
path: Routes.home,
builder: (context, state) => const WidgetCatalogPage(),
routes: [
GoRoute(
path: Routes.animationWidgets,
builder: (context, state) => const AnimationWidgetsPage(),
),
GoRoute(
path: Routes.basicWidgets,
builder: (context, state) => const BasicWidgetCatalogPage(),
),
]),
],
);
6 changes: 4 additions & 2 deletions lib/widgets_samples/animation_widgets_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ class AnimationWidgetsPage extends StatelessWidget {
),
body: const Row(
children: [
Flexible(fit: FlexFit.tight, child: Text("hello asdsa asd sa dsa das dsad as dsa dsa das dsa das dsa das ds dsa d sad sad s sa da ads das das dsa")),
Flexible(
fit: FlexFit.tight,
child: Text(
"hello asdsa asd sa dsa das dsad as dsa dsa das dsa das dsa das ds dsa d sad sad s sa da ads das das dsa")),
],
),

);
}
}

0 comments on commit 949ce67

Please sign in to comment.