diff --git a/lib/widgets/app_bar_back_button.dart b/lib/widgets/app_bar_back_button.dart index 95139ca3..7a46a585 100644 --- a/lib/widgets/app_bar_back_button.dart +++ b/lib/widgets/app_bar_back_button.dart @@ -144,9 +144,8 @@ class _AppBarBackButtonState extends State _backgroundAnimation.value, ); - final isPlain = widget.style == BackButtonStyle.plain; return Container( - margin: isPlain ? EdgeInsets.zero : const EdgeInsets.all(8), + margin: const EdgeInsets.all(8), width: 40, height: 40, decoration: BoxDecoration( @@ -156,7 +155,7 @@ class _AppBarBackButtonState extends State child: Icon( Icons.arrow_back, color: effectiveColor, - size: isPlain ? 24 : 20, + size: 20, ), ); },