@@ -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