Add 10% white focus state to AppBtn

This commit is contained in:
Shawn 2023-02-28 10:06:46 -07:00
parent 042cb6425a
commit cda6d7cbaa
2 changed files with 6 additions and 1 deletions

View File

@ -121,9 +121,10 @@ class AppBtn extends StatelessWidget {
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
splashFactory: NoSplash.splashFactory,
backgroundColor: ButtonStyleButton.allOrNull<Color>(bgColor ?? defaultColor),
overlayColor: ButtonStyleButton.allOrNull<Color>(Colors.transparent), // disable default press effect
overlayColor: ButtonStyleButton.allOrNull<Color>(Colors.white.withOpacity(.1)), // disable default press effect
shape: ButtonStyleButton.allOrNull<OutlinedBorder>(shape),
padding: ButtonStyleButton.allOrNull<EdgeInsetsGeometry>(padding ?? EdgeInsets.all($styles.insets.md)),
enableFeedback: enableFeedback,
);

View File

@ -1,3 +1,7 @@
# 2.0.12
- Artifact search remembers open/closed panel state
- Add focus state to all buttons
# 2.0.11
- Fixed landscape not working on some tablets
- Fixed app restarting when folded, or switching between multi-window mode.