Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit e4f8acd

Browse files
Googlernshahan
authored andcommitted
Changed the focus elevation for the material button in order to make the button more accessible to the user via the keyboard.
PiperOrigin-RevId: 205133399
1 parent 8fe1e29 commit e4f8acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/material_button/material_button_base.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import 'package:angular_components/button_decorator/button_decorator.dart';
1111
/// A base class from which to build buttons.
1212
class MaterialButtonBase extends ButtonDirective {
1313
static const lowElevation = 1;
14-
static const mediumElevation = 2;
14+
static const mediumElevation = 4;
1515

1616
bool _focused = false;
1717
bool _clickFocused = false;

0 commit comments

Comments
 (0)