CodeNestIconFilledBtn constructor
const
CodeNestIconFilledBtn({
- Key? key,
- required String label,
- required Widget icon,
- required VoidCallback? onPressed,
- bool isLoading = false,
- Color? backgroundColor,
- Color? foregroundColor,
- TextStyle? textStyle,
- double borderRadius = 12.0,
- 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),
});