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,
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,
}) : super(key: key);