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