HintView constructor

const HintView({
  1. Key? key,
  2. String? text,
  3. Color? textColor,
  4. double? textSize,
  5. IconData? iconData,
  6. Color? iconDataColor,
  7. double? iconDataSize,
  8. Widget? textView,
  9. Widget? iconView,
  10. EdgeInsets? padding,
  11. double? dividerHeight,
  12. double? width,
  13. double? height,
})

Implementation

const HintView({
  super.key,
  String? text,
  this.textColor,
  double? textSize,
  IconData? iconData,
  this.iconDataColor,
  double? iconDataSize,
  this.textView,
  this.iconView,
  EdgeInsets? padding,
  double? dividerHeight,
  this.width,
  this.height,
})  : text = text ?? 'No data to show',
      textSize = textSize ?? 22,
      iconData = iconData ?? Icons.sentiment_dissatisfied,
      iconDataSize = iconDataSize ?? 96,
      padding = padding ?? const EdgeInsets.all(16),
      dividerHeight = dividerHeight ?? 16;