Skip to content

Commit caab923

Browse files
committed
patch part 2
1 parent b3a7684 commit caab923

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

lib/widgets/vault_top.dart

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,20 @@ AppBar vaultTopBarWidget(BuildContext context) {
120120
child: BlocBuilder<FilterCubit, FilterState>(
121121
builder: (context, state) {
122122
final theme = Theme.of(context);
123-
return GestureDetector(
124-
onTap: () => Scaffold.of(context).openDrawer(),
125-
child: Container(
126-
height: 48.0,
127-
alignment: AlignmentDirectional.centerStart,
128-
child: DefaultTextStyle(
129-
style: TextStyle(color: theme.hintColor),
130-
child: Padding(
131-
padding: const EdgeInsets.symmetric(horizontal: 24.0),
132-
child: Text(_generateTitle(context, state)),
123+
return Material(
124+
color: Colors.transparent,
125+
child: InkWell(
126+
onTap: () => Scaffold.of(context).openDrawer(),
127+
child: Padding(
128+
padding: const EdgeInsets.symmetric(horizontal: 24.0),
129+
child: Container(
130+
height: 48.0,
131+
width: double.infinity,
132+
alignment: AlignmentDirectional.centerStart,
133+
child: DefaultTextStyle(
134+
style: TextStyle(color: theme.hintColor),
135+
child: Text(_generateTitle(context, state)),
136+
),
133137
),
134138
),
135139
),

0 commit comments

Comments
 (0)