Skip to content

Commit

Permalink
Updated tapTargetSize for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
reza00farjam committed Oct 6, 2023
1 parent 3018ab5 commit 2d47100
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/app/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ ThemeData _basicThemeData({
hoverColor: Colors.transparent,
highlightColor: Colors.transparent,
dividerColor: Colors.transparent,
visualDensity: VisualDensity.standard,
colorScheme: ColorScheme(
brightness: brightness,
primary: primaryColor,
Expand Down Expand Up @@ -219,6 +220,7 @@ ThemeData _basicThemeData({
),
),
visualDensity: VisualDensity.standard,
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
shape: const MaterialStatePropertyAll(
RoundedRectangleBorder(borderRadius: BorderRadius.zero),
),
Expand Down Expand Up @@ -248,6 +250,7 @@ ThemeData _basicThemeData({
),
),
visualDensity: VisualDensity.standard,
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
shape: const MaterialStatePropertyAll(
RoundedRectangleBorder(borderRadius: BorderRadius.zero),
),
Expand All @@ -263,6 +266,7 @@ ThemeData _basicThemeData({
minimumSize: const MaterialStatePropertyAll(Size.zero),
padding: const MaterialStatePropertyAll(EdgeInsets.zero),
visualDensity: VisualDensity.standard,
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
),
),
tooltipTheme: TooltipThemeData(
Expand Down

0 comments on commit 2d47100

Please sign in to comment.