CustomGridTile constructor

const CustomGridTile({
  1. Key? key,
  2. GestureTapCallback? onTap,
  3. Color? textColor,
  4. Widget? title,
  5. Widget? subtitle,
  6. VisualDensity? visualDensity,
  7. bool? dense = false,
  8. Color? tileColor,
  9. Color? splashColor,
  10. Color? selectedTileColor,
  11. bool disabled = false,
  12. BorderRadius? borderRadius,
  13. EdgeInsets? margin = const EdgeInsets.all(0),
  14. CrossAxisAlignment? crossAxisAlignment,
  15. MainAxisAlignment? mainAxisAlignment,
  16. MainAxisSize mainAxisSize = MainAxisSize.max,
  17. TextStyle? titleStyle,
  18. TextStyle? subtitleStyle,
  19. int maxLinesTitle = 1,
  20. int maxLinesSubtitle = 1,
  21. String? textTitle,
  22. String? textSubtitle,
  23. bool invertTitlePosition = false,
  24. Widget? header,
  25. Widget? body,
  26. Widget? footer,
  27. double? height,
  28. GridLabelsIncludesIn? labelsIncludesIn,
  29. EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 16),
})

Implementation

const CustomGridTile({
  super.key,
  super.onTap,
  super.textColor,
  super.title,
  super.subtitle,
  super.visualDensity,
  super.dense = false,
  super.tileColor,
  super.splashColor,
  super.selectedTileColor,

  super.disabled = false,
  super.borderRadius,
  super.margin = const EdgeInsets.all(0),
  super.crossAxisAlignment,
  super.mainAxisAlignment,
  super.mainAxisSize = MainAxisSize.max,
  super.titleStyle,
  super.subtitleStyle,
  super.maxLinesTitle = 1,
  super.maxLinesSubtitle = 1,
  super.textTitle,
  super.textSubtitle,
  super.invertTitlePosition = false,

  this.header,
  this.body,
  this.footer,
  this.height,
  this.labelsIncludesIn,
  this.padding = const EdgeInsets.symmetric(horizontal: 16)
});