RailTile constructor
const
RailTile({
- Key? key,
- required TextDirection direction,
- required Widget icon,
- Color? iconColor,
- void onTap()?,
- Color? backgroundColor,
- String? label,
- TextStyle? collapsedTextStyle,
- TextStyle? expandedTextStyle,
- double? iconSize,
- required double minWidth,
- required double widthPercentage,
- EdgeInsetsGeometry? iconPadding,
- bool hideCollapsedText = false,
Implementation
const RailTile({
Key? key,
required this.direction,
required this.icon,
this.iconColor,
this.onTap,
this.backgroundColor,
this.label,
this.collapsedTextStyle,
this.expandedTextStyle,
this.iconSize,
required this.minWidth,
required this.widthPercentage,
this.iconPadding,
this.hideCollapsedText = false,
}) : super(key: key);