GFListTile constructor
const
GFListTile({
- Key? key,
- String? titleText,
- String? subTitleText,
- Color? color,
- Widget? avatar,
- Widget? title,
- Widget? subTitle,
- Widget? description,
- Widget? icon,
- EdgeInsets padding = const EdgeInsets.all(8),
- EdgeInsets margin = const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
- Color? listItemTextColor = GFColors.DARK,
- bool enabled = true,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- bool selected = false,
- Color? focusColor,
- Color? hoverColor,
- FocusNode? focusNode,
- bool autofocus = false,
- String? firstButtonTitle,
- String? secondButtonTitle,
- GestureTapCallback? onFirstButtonTap,
- GestureTapCallback? onSecondButtonTap,
- TextStyle? firstButtonTextStyle,
- TextStyle? secondButtonTextStyle,
- double? radius,
- BoxShadow? shadow,
Creates ListTile with leading, title, trailing, image widget for almost every type of ListTile design.
Implementation
const GFListTile({
Key? key,
this.titleText,
this.subTitleText,
this.color,
this.avatar,
this.title,
this.subTitle,
this.description,
this.icon,
this.padding = const EdgeInsets.all(8),
this.margin = const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
this.listItemTextColor = GFColors.DARK,
this.enabled = true,
this.onTap,
this.onLongPress,
this.selected = false,
this.focusColor,
this.hoverColor,
this.focusNode,
this.autofocus = false,
this.firstButtonTitle,
this.secondButtonTitle,
this.onFirstButtonTap,
this.onSecondButtonTap,
this.firstButtonTextStyle,
this.secondButtonTextStyle,
this.radius,
this.shadow,
}) : super(key: key);