EmptyWidget constructor

const EmptyWidget({
  1. Key? key,
  2. String lottieAsset = "assets/rive/no-data.riv",
  3. String title = "No data found.",
  4. Widget? titleWidget,
  5. void onPressed()?,
  6. Widget? button,
  7. Widget? image,
})

Implementation

const EmptyWidget({
  Key? key,
  this.lottieAsset = "assets/rive/no-data.riv",
  this.title = "No data found.",
  this.titleWidget,
  this.onPressed,
  this.button,
  this.image,
}) : super(key: key);