XListTile constructor
const
XListTile(- {Key key,
- @required Color selectedColor,
- @required Color unSelectedColor,
- @required bool selected,
- FontWeight fontWeight,
- IconData icon,
- @required String text,
- double iconSize,
- Function onTap,
- Widget trailing,
- Widget subtitle}
)
Implementation
const XListTile(
{Key key,
@required this.selectedColor,
@required this.unSelectedColor,
@required this.selected,
this.fontWeight,
this.icon,
@required this.text,
this.iconSize,
this.onTap,
this.trailing,
this.subtitle})
: super(key: key);