FCCEmptyState constructor
const
FCCEmptyState({
- Key? key,
- required String message,
- required String subMessage,
- Future<
void> onRefresh()?, - bool isNeumorphic = false,
- bool enableAnimation = true,
- NeumorphicStyle neumorphicStyle = NeumorphicStyle.lowered,
- EdgeInsets cardPadding = const EdgeInsets.all(24),
- double borderRadiusValue = 24,
- int animationIndex = 0,
- Duration animationBaseDuration = const Duration(milliseconds: 500),
- bool fullPage = false,
- String? lottieAsset,
- String? lottieNetwork,
- double lottieSize = 120,
Implementation
const FCCEmptyState({
super.key,
required this.message,
required this.subMessage,
this.onRefresh,
this.isNeumorphic = false,
this.enableAnimation = true,
this.neumorphicStyle = NeumorphicStyle.lowered,
this.cardPadding = const EdgeInsets.all(24),
this.borderRadiusValue = 24,
this.animationIndex = 0,
this.animationBaseDuration = const Duration(milliseconds: 500),
this.fullPage = false,
this.lottieAsset,
this.lottieNetwork,
this.lottieSize = 120,
});