FCCEmptyState constructor

const FCCEmptyState({
  1. Key? key,
  2. required String message,
  3. required String subMessage,
  4. Future<void> onRefresh()?,
  5. bool isNeumorphic = false,
  6. bool enableAnimation = true,
  7. NeumorphicStyle neumorphicStyle = NeumorphicStyle.lowered,
  8. EdgeInsets cardPadding = const EdgeInsets.all(24),
  9. double borderRadiusValue = 24,
  10. int animationIndex = 0,
  11. Duration animationBaseDuration = const Duration(milliseconds: 500),
  12. bool fullPage = false,
  13. String? lottieAsset,
  14. String? lottieNetwork,
  15. 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,
});