NoDataWidget constructor

NoDataWidget({
  1. Key? key,
  2. required AppTheme theme,
  3. double height = 250,
  4. String? description,
  5. String? imageRes,
  6. double imageWidth = 200,
  7. double imageHeight = 200,
  8. TextStyle? textStyle,
})

Implementation

NoDataWidget({
  super.key,
  required this.theme,
  this.height = 250,
  this.description,
  this.imageRes,
  this.imageWidth = 200,
  this.imageHeight = 200,
  TextStyle? textStyle,
}) {
  this.textStyle = textStyle ?? TextStyle(color: theme.textColor(), fontSize: 16.0);
}