accentButtonStyle property
Implementation
static final ButtonStyle accentButtonStyle = ButtonStyle(
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius))),
shadowColor: const MaterialStatePropertyAll(Colors.transparent),
padding: kIsWeb
? const MaterialStatePropertyAll(EdgeInsets.all(20))
: const MaterialStatePropertyAll(EdgeInsets.all(8)),
backgroundColor: MaterialStateProperty.resolveWith((state) =>
state.contains(MaterialState.hovered)
? accentButtonBackgroundColorHover
: accentButtonBackgroundColor),
foregroundColor: const MaterialStatePropertyAll(accentButtonTextColor));