NikuSwitchListTile constructor
NikuSwitchListTile(
- bool? value, {
- Key? key,
- ValueChanged<
bool> ? onChanged, - Color? activeColor,
- Color? activeTrackColor,
- Color? inactiveThumbColor,
- Color? inactiveTrackColor,
- ImageProvider<
Object> ? activeThumbImage, - ImageErrorListener? onActiveThumbImageError,
- ImageProvider<
Object> ? inactiveThumbImage, - ImageErrorListener? onInactiveThumbImageError,
- NikuState<
Color?> ? thumbColorState, - NikuState<
Color?> ? trackColorState, - NikuState<
Color?> ? trackOutlineColorState, - NikuState<
Icon?> ? thumbIconState, - MaterialTapTargetSize? materialTapTargetSize,
- DragStartBehavior? dragStartBehavior,
- MouseCursor? mouseCursor,
- NikuState<
Color?> ? overlayColorState, - double? splashRadius,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - bool? autofocus,
- Color? tileColor,
- Widget? title,
- Widget? subtitle,
- Widget? secondary,
- bool? isThreeLine,
- bool? dense,
- NikuEdgeInsets? contentPadding,
- bool? selected,
- ListTileControlAffinity? controlAffinity,
- ShapeBorder? shape,
- Color? selectedTileColor,
- VisualDensity? visualDensity,
- bool? enableFeedback,
- Color? hoverColor,
- bool? applyCupertinoTheme,
Implementation
NikuSwitchListTile(
this.value, {
this.key,
this.onChanged,
this.activeColor,
this.activeTrackColor,
this.inactiveThumbColor,
this.inactiveTrackColor,
this.activeThumbImage,
this.onActiveThumbImageError,
this.inactiveThumbImage,
this.onInactiveThumbImageError,
this.thumbColorState,
this.trackColorState,
this.trackOutlineColorState,
this.thumbIconState,
this.materialTapTargetSize,
this.dragStartBehavior,
this.mouseCursor,
this.overlayColorState,
this.splashRadius,
this.focusNode,
this.onFocusChange,
this.autofocus,
this.tileColor,
this.title,
this.subtitle,
this.secondary,
this.isThreeLine,
this.dense,
this.contentPadding,
this.selected,
this.controlAffinity,
this.shape,
this.selectedTileColor,
this.visualDensity,
this.enableFeedback,
this.hoverColor,
this.applyCupertinoTheme,
}) : super(key: key);