NotiListViewTile constructor

const NotiListViewTile({
  1. Key? key,
  2. String? title,
  3. required String content,
  4. double height = 102.0,
  5. double radius = 10.0,
  6. double elevation = 5,
  7. Color shadowColor = const Color(0x2b333333),
  8. double divideMargin = 10.0,
  9. double sidePadding = 15.0,
  10. double topBottomPadding = 19.0,
  11. double tileMinHeight = 100,
  12. double imageMaxWidth = 150,
  13. double imageMaxHeight = 150,
  14. double space = 12.0,
  15. NotiTileType notiTileType = NotiTileType.normal,
  16. Color imageBackgroundColor = const Color(0xffd9d9d9),
  17. double imageRatio = 1 / 1,
  18. String? imageAssets,
  19. TextStyle? titleStyle,
  20. TextStyle? contentStyle,
  21. bool isNew = false,
  22. VoidCallback? onTapDelete,
})

Implementation

const NotiListViewTile({
  Key? key,
  this.title,
  required this.content,
  this.height = 102.0,
  this.radius = 10.0,
  this.elevation = 5,
  this.shadowColor = const Color(0x2b333333),
  this.divideMargin = 10.0,
  this.sidePadding = 15.0,
  this.topBottomPadding = 19.0,
  this.tileMinHeight = 100,
  this.imageMaxWidth = 150,
  this.imageMaxHeight = 150,
  this.space = 12.0,
  this.notiTileType = NotiTileType.normal,
  this.imageBackgroundColor = const Color(0xffd9d9d9),
  this.imageRatio = 1 / 1,
  this.imageAssets,
  this.titleStyle,
  this.contentStyle,
  this.isNew = false,
  this.onTapDelete,
}) : super(key: key);