flatButtonStyle property

ButtonStyle flatButtonStyle
getter/setter pair

Implementation

static ButtonStyle flatButtonStyle = ButtonStyle(
  backgroundColor: MaterialStateProperty.all(Colors.lightBlue),
  overlayColor: MaterialStateProperty.all(Colors.red),
  shape: MaterialStateProperty.all<RoundedRectangleBorder>(
    RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(10.0),
    ),
  ),
);