greyButtonStyle property
Implementation
static final ButtonStyle greyButtonStyle = ButtonStyle(
shadowColor: const MaterialStatePropertyAll(Colors.transparent),
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius))),
padding: const MaterialStatePropertyAll(EdgeInsets.all(20)),
alignment: Alignment.center,
backgroundColor: MaterialStateProperty.resolveWith((state) =>
state.contains(MaterialState.hovered)
? greyButtonBackgroundColorHover
: greyButtonBackgroundColor),
foregroundColor: const MaterialStatePropertyAll(greyButtonTextColor),
);