BaseTile constructor

const BaseTile({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. String? titleText,
  5. Widget? subtitle,
  6. String? subtitleText,
  7. Widget? trailing,
  8. EdgeInsetsGeometry? contentPadding,
  9. GestureTapCallback? onTap,
  10. GestureLongPressCallback? onLongPress,
  11. Color? backgroundColor,
  12. Widget? child,
  13. Color splashColor = Colors.transparent,
  14. Color highlightColor = const Color.fromRGBO(153, 153, 153, .4),
  15. Border? border,
  16. double? height,
  17. BorderRadius? borderRadius,
  18. MainAxisAlignment? mainAxisAlignment,
  19. bool isThreeLine = false,
  20. bool dense = true,
  21. bool enabled = true,
  22. bool selected = false,
  23. BaseParam? baseParam,
})

Implementation

const BaseTile({
  Key? key,
  this.leading,
  this.title,
  this.titleText,
  this.subtitle,
  this.subtitleText,
  this.trailing,
  this.contentPadding,
  this.onTap,
  this.onLongPress,
  this.backgroundColor,
  this.child,
  this.splashColor = Colors.transparent,
  this.highlightColor = const Color.fromRGBO(153, 153, 153, .4),
  this.border,
  this.height,
  this.borderRadius,
  this.mainAxisAlignment,
  this.isThreeLine = false,
  this.dense = true,
  this.enabled = true,
  this.selected = false,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);