filled static method
Implementation
static ButtonStyle filled(
{double? radius,
double? minimumSize,
double? elevation,
Color? background,
double? height,
double? width}) {
return ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius ?? 20.0)),
minimumSize: Size(width ?? double.infinity, height ?? 36),
backgroundColor: background ?? colorPrimary,
elevation: elevation,
);
}