error property

ButtonStyle error
final

Implementation

static final ButtonStyle error = ButtonStyle(
  backgroundColor: const MaterialStatePropertyAll<Color>(Colors.red),
  foregroundColor: const MaterialStatePropertyAll<Color>(Colors.white),
  overlayColor: const MaterialStatePropertyAll<Color>(Colors.redAccent),
  padding:
      const MaterialStatePropertyAll<EdgeInsetsGeometry>(EdgeInsets.all(10)),
  side: const MaterialStatePropertyAll<BorderSide>(
      BorderSide(color: Colors.red)),
  shape: MaterialStateProperty.all(
    RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(30),
    ),
  ),
);