MButtonSoMiniGradient constructor

const MButtonSoMiniGradient({
  1. required Future<void> onPressed()?,
  2. String buttonText = 'button',
  3. Gradient? backgroundGradient,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? margin,
  6. Key? key,
})

Implementation

const MButtonSoMiniGradient(
    {required this.onPressed,
    this.buttonText = 'button',
    this.backgroundGradient,
    this.backgroundColor,
    this.margin,
    super.key});