style(dashboard): format code and add title margin
Some checks failed
ci/woodpecker/push/useragent-analyze Pipeline failed

This commit is contained in:
hdbg
2026-03-29 00:31:28 +01:00
parent 8f0eb7130b
commit e5be55e141

View File

@@ -22,15 +22,18 @@ class DashboardRouter extends StatelessWidget {
@override
Widget build(BuildContext context) {
final title = const Text("Arbiter", style: TextStyle(fontWeight: FontWeight.w800));
final title = Container(
margin: const EdgeInsets.all(16),
child: const Text(
"Arbiter",
style: TextStyle(fontWeight: FontWeight.w800),
),
);
return AutoTabsRouter(
routes: routes,
transitionBuilder: (context, child, animation) => FadeTransition(
opacity: animation,
child: child,
),
transitionBuilder: (context, child, animation) =>
FadeTransition(opacity: animation, child: child),
builder: (context, child) {
final tabsRouter = AutoTabsRouter.of(context);
final currentActive = tabsRouter.activeIndex;
@@ -79,9 +82,7 @@ class _CalloutBell extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final count = ref.watch(
calloutManagerProvider.select((map) => map.length),
);
final count = ref.watch(calloutManagerProvider.select((map) => map.length));
return IconButton(
onPressed: () => showCalloutList(context, ref),