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