FToastStyleDelta.delta constructor
const
FToastStyleDelta.delta({
- BoxConstraints? constraints,
- BoxDecorationDelta? decoration,
- ImageFilter? backgroundFilter,
- EdgeInsetsGeometry? padding,
- IconThemeDataDelta? iconStyle,
- double? iconSpacing,
- TextStyleDelta? titleTextStyle,
- double? titleSpacing,
- TextStyleDelta? descriptionTextStyle,
- double? suffixSpacing,
- FToastMotionDelta? motion,
Creates a partial modification of a FToastStyle.
Parameters
- FToastStyle.constraints - The toast's constraints.
- FToastStyle.decoration - The toast's decoration.
- FToastStyle.backgroundFilter - An optional background filter.
- FToastStyle.padding - The toast content's padding.
- FToastStyle.iconStyle - The style of the toast's prefix icon.
- FToastStyle.iconSpacing - The spacing between the icon and the title.
- FToastStyle.titleTextStyle - The title's text style.
- FToastStyle.titleSpacing - The spacing between the title and description Defaults to 5.0.
- FToastStyle.descriptionTextStyle - The description's text style.
- FToastStyle.suffixSpacing - The spacing between the icon and the title.
- FToastStyle.motion - The motion-related properties.
Implementation
const factory FToastStyleDelta.delta({
BoxConstraints? constraints,
BoxDecorationDelta? decoration,
ImageFilter? backgroundFilter,
EdgeInsetsGeometry? padding,
IconThemeDataDelta? iconStyle,
double? iconSpacing,
TextStyleDelta? titleTextStyle,
double? titleSpacing,
TextStyleDelta? descriptionTextStyle,
double? suffixSpacing,
FToastMotionDelta? motion,
}) = _FToastStyleDelta;