ConfiguraTile constructor
ConfiguraTile({
- Color? tileColor,
- Color? tileColorDark,
- double? blur,
- double? elevation,
- EdgeInsetsGeometry? padding,
- BorderRadius? borderRadius,
- required Icon leading,
- required String title,
- String? subtitle,
- required VoidCallback onTap,
- Color? iconColor,
- Color? iconColorDark,
- Color? titleColor,
- Color? titleColorDark,
- Color? subtitleColor,
- Color? subtitleColorDark,
- Icon? trailing,
- Color? trailingColor,
- Color? trailingColorDark,
- String? headerText,
- double? headerSpacing,
- CrossAxisAlignment? textAlignment,
- bool visibilityEnabled = true,
- bool themeEnabled = false,
- Function? visibilityCondition,
- bool headerPositionOutside = true,
- CrossAxisAlignment? headerPosition,
- Color? headerTextColor,
Implementation
ConfiguraTile({
this.tileColor,
this.tileColorDark,
this.blur,
this.elevation,
this.padding,
this.borderRadius,
required this.leading,
required this.title,
this.subtitle, // Updated constructor
required this.onTap,
this.iconColor,
this.iconColorDark,
this.titleColor,
this.titleColorDark,
this.subtitleColor, // Updated constructor
this.subtitleColorDark,
this.trailing,
this.trailingColor,
this.trailingColorDark,
this.headerText,
this.headerSpacing,
this.textAlignment,
this.visibilityEnabled = true,
this.themeEnabled = false,
this.visibilityCondition,
this.headerPositionOutside = true, // Default value for header position
this.headerPosition, // New property for header position alignment
this.headerTextColor, // New property for header text color
});