CodeNestIconFilledBtn constructor

const CodeNestIconFilledBtn({
  1. Key? key,
  2. required String label,
  3. required Widget icon,
  4. required VoidCallback? onPressed,
  5. bool isLoading = false,
  6. Color? backgroundColor,
  7. Color? foregroundColor,
  8. TextStyle? textStyle,
  9. double borderRadius = 12.0,
  10. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 14, horizontal: 24),
})

Implementation

const CodeNestIconFilledBtn({
  super.key,
  required this.label,
  required this.icon,
  required this.onPressed,
  this.isLoading = false,
  this.backgroundColor,
  this.foregroundColor,
  this.textStyle,
  this.borderRadius = 12.0,
  this.padding = const EdgeInsets.symmetric(vertical: 14, horizontal: 24),
});