NotiListViewTile constructor

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

Implementation

const NotiListViewTile({
  Key? key,
  this.title,
  this.isFirst = false,
  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.imageInfoWidth = 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);