utils/theme/button_press_lift library
Extensions
- ButtonPressLift on ButtonStyle
-
ElevatedButton.styleFromlifts a button by 6 while it is pressed, even atelevation: 0, which draws a shadow under a button that is being held.
ElevatedButton.styleFrom lifts a button by 6 while it is pressed, even at
elevation: 0, which draws a shadow under a button that is being held.