[FEAT] Added hover and focus colors for action fields
This commit is contained in:
@@ -147,6 +147,8 @@ class _AstromicActionFieldState<T> extends State<AstromicActionField<T>> {
|
|||||||
child: Material(
|
child: Material(
|
||||||
type: MaterialType.transparency,
|
type: MaterialType.transparency,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
|
hoverColor: widget.style!(widget.configuration?.isEnabled ?? true).hoverColor,
|
||||||
|
focusColor: widget.style!(widget.configuration?.isEnabled ?? true).focusColor,
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
if (widget.onTap != null) {
|
if (widget.onTap != null) {
|
||||||
(T item, String label)? c = _currentValue;
|
(T item, String label)? c = _currentValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user