FToasterStyleDelta.delta constructor
const
FToasterStyleDelta.delta({
- double? max,
- EdgeInsetsGeometry? padding,
- FToasterExpandBehavior? expandBehavior,
- Duration? expandHoverEnterDuration,
- Duration? expandHoverExitDuration,
- double? expandStartSpacing,
- double? expandSpacing,
- double? collapsedProtrusion,
- double? collapsedScale,
- FToasterMotionDelta? motion,
- FToastAlignment? toastAlignment,
- FToastStyleDelta? toastStyle,
Creates a partial modification of a FToasterStyle.
Parameters
- FToasterStyle.max - The maximum number of entries shown per FToastAlignment.
- FToasterStyle.padding - The toaster's padding.
- FToasterStyle.expandBehavior - The toaster's expansion behavior.
- FToasterStyle.expandHoverEnterDuration - The duration to wait after entering the toaster before expanding the toasts.
- FToasterStyle.expandHoverExitDuration - The duration to wait after exiting the toaster before collapsing the toasts.
- FToasterStyle.expandStartSpacing - The spacing below or above the toasts when they are expanded.
- FToasterStyle.expandSpacing - The spacing between the toasts when they are expanded.
- FToasterStyle.collapsedProtrusion - The protrusion of the collapsed toasts behind the front toast.
- FToasterStyle.collapsedScale - The scaling factor pf the collapsed toasts behind the front toast.
- FToasterStyle.motion - The motion-related properties.
- FToasterStyle.toastAlignment - The toast's alignment relative to a FToaster.
- FToasterStyle.toastStyle - The contained toasts' style.
Implementation
const factory FToasterStyleDelta.delta({
double? max,
EdgeInsetsGeometry? padding,
FToasterExpandBehavior? expandBehavior,
Duration? expandHoverEnterDuration,
Duration? expandHoverExitDuration,
double? expandStartSpacing,
double? expandSpacing,
double? collapsedProtrusion,
double? collapsedScale,
FToasterMotionDelta? motion,
FToastAlignment? toastAlignment,
FToastStyleDelta? toastStyle,
}) = _FToasterStyleDelta;