PrimaryOutlinedButtonIcon constructor

const PrimaryOutlinedButtonIcon({
  1. Key? key,
  2. Color? activeBackgroundColor,
  3. Color? disabledBackgroundColor,
  4. Color? activeForegroundColor,
  5. Color? disabledForegroundColor,
  6. required IconData icon,
  7. bool isLoading = false,
  8. VoidCallback? onTap,
  9. double height = 34,
  10. double? width,
  11. double radius = 4,
})

Creates a PrimaryOutlinedButtonIcon.

The icon parameter must not be null.

Implementation

const PrimaryOutlinedButtonIcon({
  super.key,
  this.activeBackgroundColor,
  this.disabledBackgroundColor,
  this.activeForegroundColor,
  this.disabledForegroundColor,
  required this.icon,
  this.isLoading = false,
  this.onTap,
  this.height = 34,
  this.width,
  this.radius = 4,
});