GTFEmpty constructor
const
GTFEmpty({
- Key? key,
- VoidCallback? onPressed,
- String? icon,
- String? contentText,
- String? buttonText,
- int? contentMaxLines = 2,
- double buttonRadius = 4,
- double? contentFontSize = GTFFont.base,
- double? buttonFontSize = GTFFont.subBase,
- FontWeight? contentFontWeight = GTFFont.regular,
- FontWeight? buttonFontWeight = GTFFont.medium,
- EdgeInsets iconMargin = const EdgeInsets.only(top: 100),
- EdgeInsets contentPadding = const EdgeInsets.fromLTRB(60, 20, 60, 20),
- EdgeInsets buttonContentPadding = const EdgeInsets.fromLTRB(16, 5, 16, 5),
- Color? contentTextColor,
- Color? buttonTextColor = GTFColor.grey6,
- Color? buttonBackgroundColor,
Implementation
const GTFEmpty({
Key? key,
this.onPressed,
this.icon,
this.contentText,
this.buttonText,
this.contentMaxLines = 2,
this.buttonRadius = 4,
this.contentFontSize = GTFFont.base,
this.buttonFontSize = GTFFont.subBase,
this.contentFontWeight = GTFFont.regular,
this.buttonFontWeight = GTFFont.medium,
this.iconMargin = const EdgeInsets.only(top: 100),
this.contentPadding = const EdgeInsets.fromLTRB(60, 20, 60, 20),
this.buttonContentPadding = const EdgeInsets.fromLTRB(16, 5, 16, 5),
this.contentTextColor,
this.buttonTextColor = GTFColor.grey6,
this.buttonBackgroundColor,
}) : super(key: key);