Add 10% white focus state to AppBtn
This commit is contained in:
parent
042cb6425a
commit
cda6d7cbaa
@ -121,9 +121,10 @@ class AppBtn extends StatelessWidget {
|
|||||||
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||||
splashFactory: NoSplash.splashFactory,
|
splashFactory: NoSplash.splashFactory,
|
||||||
backgroundColor: ButtonStyleButton.allOrNull<Color>(bgColor ?? defaultColor),
|
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),
|
shape: ButtonStyleButton.allOrNull<OutlinedBorder>(shape),
|
||||||
padding: ButtonStyleButton.allOrNull<EdgeInsetsGeometry>(padding ?? EdgeInsets.all($styles.insets.md)),
|
padding: ButtonStyleButton.allOrNull<EdgeInsetsGeometry>(padding ?? EdgeInsets.all($styles.insets.md)),
|
||||||
|
|
||||||
enableFeedback: enableFeedback,
|
enableFeedback: enableFeedback,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# 2.0.12
|
||||||
|
- Artifact search remembers open/closed panel state
|
||||||
|
- Add focus state to all buttons
|
||||||
|
|
||||||
# 2.0.11
|
# 2.0.11
|
||||||
- Fixed landscape not working on some tablets
|
- Fixed landscape not working on some tablets
|
||||||
- Fixed app restarting when folded, or switching between multi-window mode.
|
- Fixed app restarting when folded, or switching between multi-window mode.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user