MongolListTileTheme constructor
const
MongolListTileTheme({
- Key? key,
- MongolListTileThemeData? data,
- bool? dense,
- ShapeBorder? shape,
- ListTileStyle? style,
- Color? selectedColor,
- Color? iconColor,
- Color? textColor,
- EdgeInsetsGeometry? contentPadding,
- Color? tileColor,
- Color? selectedTileColor,
- bool? enableFeedback,
- MaterialStateProperty<
MouseCursor?> ? mouseCursor, - double? verticalTitleGap,
- double? minHorizontalPadding,
- double? minLeadingHeight,
- required Widget child,
Creates a list tile theme that defines the color and style parameters for descendant MongolListTiles.
Only the data
parameter should be used. The other parameters are
redundant (are now obsolete) and will be deprecated in a future update.
Implementation
const MongolListTileTheme({
Key? key,
MongolListTileThemeData? data,
bool? dense,
ShapeBorder? shape,
ListTileStyle? style,
Color? selectedColor,
Color? iconColor,
Color? textColor,
EdgeInsetsGeometry? contentPadding,
Color? tileColor,
Color? selectedTileColor,
bool? enableFeedback,
MaterialStateProperty<MouseCursor?>? mouseCursor,
double? verticalTitleGap,
double? minHorizontalPadding,
double? minLeadingHeight,
required super.child,
}) : assert(data == null ||
(shape ??
selectedColor ??
iconColor ??
textColor ??
contentPadding ??
tileColor ??
selectedTileColor ??
enableFeedback ??
mouseCursor ??
verticalTitleGap ??
minHorizontalPadding ??
minLeadingHeight) ==
null),
_data = data,
_dense = dense,
_shape = shape,
_style = style,
_selectedColor = selectedColor,
_iconColor = iconColor,
_textColor = textColor,
_contentPadding = contentPadding,
_tileColor = tileColor,
_selectedTileColor = selectedTileColor,
_enableFeedback = enableFeedback,
_mouseCursor = mouseCursor,
_verticalTitleGap = verticalTitleGap,
_minHorizontalPadding = minHorizontalPadding,
_minLeadingHeight = minLeadingHeight;