animated_toggle_switch
library
Typedefs
-
AnimatedIconBuilder<T>
= Widget Function(BuildContext context, AnimatedToggleProperties<T> local, DetailedGlobalToggleProperties<T> global)
-
A version of IconBuilder for writing a custom animation for the change of the selected item.
-
ChangeCallback<T>
= FutureOr<void> Function(T value)
-
-
CustomIconBuilder<T>
= Widget Function(BuildContext context, LocalToggleProperties<T> local, DetailedGlobalToggleProperties<T> global)
-
Custom builder for icons in the switch.
-
CustomIndicatorBuilder<T>
= Widget Function(BuildContext context, DetailedGlobalToggleProperties<T> global)
-
Custom builder for the indicator of the switch.
-
CustomSeparatorBuilder<T>
= Widget Function(BuildContext context, SeparatorProperties<T> local, DetailedGlobalToggleProperties<T> global)
-
Custom builder for the
spacing
section between the icons.
-
CustomStyleBuilder<T>
= ToggleStyle Function(BuildContext context, StyledToggleProperties<T> local, GlobalToggleProperties<T> global)
-
-
CustomWrapperBuilder<T>
= Widget Function(BuildContext context, GlobalToggleProperties<T> global, Widget child)
-
Custom builder for the wrapper of the switch.
-
IconBuilder<T>
= Widget Function(BuildContext context, StyledToggleProperties<T> local, DetailedGlobalToggleProperties<T> global)
-
-
IndicatorAppearingBuilder
= Widget Function(BuildContext context, double value, Widget indicator)
-
Custom builder for the appearing animation of the indicator.
-
LoadingIconBuilder<T>
= Widget Function(BuildContext context, DetailedGlobalToggleProperties<T> global)
-
-
PositionListener<T>
= void Function(PositionListenerInfo<T> position)
-
Listener for the current position and ToggleMode of the indicator.
-
RollingIconBuilder<T>
= Widget Function(BuildContext context, RollingProperties<T> local, DetailedGlobalToggleProperties<T> global)
-
-
SeparatorBuilder
= Widget Function(int index)
-
-
SimpleIconBuilder<T>
= Widget Function(T value)
-
-
SimpleRollingIconBuilder<T>
= Widget Function(T value, bool foreground)
-
-
StyleBuilder<T>
= ToggleStyle Function(T value)
-
-
TapCallback<T>
= FutureOr<void> Function(TapProperties<T> props)
-