FastButtonIcon constructor

const FastButtonIcon({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. bool? loading,
  5. Color? background,
  6. Color? color,
  7. double? radius,
  8. double? elevation,
  9. ButtonVariant variant = ButtonVariant.contained,
})

FastButtonIcon

FastButtonIcon(
  icon: Icons.add,
  onPressed: () {},
)

Implementation

const FastButtonIcon(
    {super.key,
    required this.icon,
    this.onPressed,
    this.loading,
    this.background,
    this.color,
    this.radius,
    this.elevation,
    this.variant = ButtonVariant.contained});