Skip to content

Commit 3fbd470

Browse files
committed
fix: remove background & foreground color
Appbar, Tabbar & ExpandableFAB
1 parent 9388bcd commit 3fbd470

File tree

5 files changed

+0
-18
lines changed

5 files changed

+0
-18
lines changed

lib/features/achieved_detail/view/achieved_detail_screen.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class AchievedDetailScreen extends StatelessWidget {
1919
);
2020
},
2121
),
22-
elevation: 0,
23-
backgroundColor: Colors.transparent,
24-
foregroundColor: theme.textTheme.bodyLarge!.color,
2522
leading: IconButton(
2623
onPressed: () {
2724
Navigator.pop(context);

lib/features/add_wish/view/add_wish_page.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ class _AddWishView extends StatelessWidget {
4646
return Scaffold(
4747
backgroundColor: theme.colorScheme.surface,
4848
appBar: AppBar(
49-
elevation: 0,
50-
backgroundColor: Colors.transparent,
51-
foregroundColor: theme.textTheme.bodyLarge!.color,
5249
leading: IconButton(
5350
onPressed: () {
5451
Navigator.pop(context);

lib/features/home/view/home_screen.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
4343

4444
@override
4545
Widget build(BuildContext context) {
46-
ThemeData theme = Theme.of(context);
4746
return Scaffold(
4847
appBar: AppBar(
4948
elevation: 0,
50-
backgroundColor: Colors.transparent,
51-
foregroundColor: theme.textTheme.bodyLarge!.color,
5249
title: const Text("Celenganku", style: TextStyle(fontWeight: FontWeight.normal)),
5350
actions: [
5451
IconButton(
@@ -68,10 +65,6 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
6865
)
6966
],
7067
bottom: TabBar(
71-
labelColor: theme.colorScheme.primary,
72-
indicatorColor: theme.colorScheme.primary,
73-
indicatorPadding: const EdgeInsets.symmetric(horizontal: 48),
74-
indicatorWeight: 3,
7568
controller: _tabController,
7669
onTap: (value) {
7770
_screens[value].onTap.call(context);

lib/features/wish_detail/view/wish_detail_screen.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ class WishDetailScreen extends StatelessWidget {
2020
);
2121
},
2222
),
23-
elevation: 0,
24-
backgroundColor: Colors.transparent,
25-
foregroundColor: theme.textTheme.bodyLarge!.color,
2623
leading: IconButton(
2724
onPressed: () {
2825
Navigator.pop(context);

lib/features/wish_detail/widget/my_expandable_fab.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class MyExpandableFab extends StatelessWidget {
2020
color: Colors.black.withOpacity(0.5),
2121
),
2222
expandedFabSize: ExpandableFabSize.regular,
23-
backgroundColor: theme.colorScheme.primary,
24-
foregroundColor: theme.colorScheme.onPrimary,
2523
children: [
2624
_FloatingActionButtons(
2725
onTap: () => showDialog(

0 commit comments

Comments
 (0)