Skip to content

Commit 0a8186c

Browse files
committed
fix: center the primary STTWidget button within its container
1 parent 2178847 commit 0a8186c

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

lib/features/presentation/home_screen.dart

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ class HomeScreen extends StatelessWidget {
1111
print('home screen built');
1212
return const Scaffold(
1313
body: AnimationScreen(),
14-
floatingActionButton: Wrap(
15-
direction: Axis.vertical,
16-
spacing: 30,
17-
children: [FlagSwitch(), STTWidget()],
14+
floatingActionButton: Column(
15+
mainAxisSize: MainAxisSize.min,
16+
mainAxisAlignment: MainAxisAlignment.center,
17+
crossAxisAlignment: CrossAxisAlignment.center,
18+
children: [
19+
// FlagSwitch(),
20+
// SizedBox(height: 30),
21+
Center(child: STTWidget()),
22+
],
1823
),
1924
);
2025
}

0 commit comments

Comments
 (0)