regularButtonStyle property

ButtonStyle get regularButtonStyle

Implementation

static ButtonStyle get regularButtonStyle => ButtonStyle(
      shadowColor: const MaterialStatePropertyAll(Colors.transparent),
      shape: MaterialStateProperty.all<RoundedRectangleBorder>(
          RoundedRectangleBorder(
              borderRadius: BorderRadius.circular(borderRadius))),
      padding: kIsWeb
          ? const MaterialStatePropertyAll(EdgeInsets.all(20))
          : const MaterialStatePropertyAll(EdgeInsets.all(8)),
      backgroundColor: MaterialStateProperty.resolveWith((state) =>
          state.contains(MaterialState.hovered)
              ? regularButtonBackgroundColorHover
              : regularButtonBackgroundColor),
      foregroundColor: const MaterialStatePropertyAll(regularButtonTextColor),
    );