FItemStyleDelta.delta constructor
const
FItemStyleDelta.delta({
- ShapeBorder? shape,
- FVariantsValueDelta<
FTappableVariantConstraint, FTappableVariant, Color?, Delta> ? backgroundColor, - EdgeInsetsGeometryDelta? margin,
- FVariantsDelta<
FTappableVariantConstraint, FTappableVariant, Decoration, DecorationDelta> ? decoration, - FItemContentStyleDelta? contentStyle,
- FRawItemContentStyleDelta? rawItemContentStyle,
- FTappableStyleDelta? tappableStyle,
- FFocusedOutlineStyle? focusedOutlineStyle,
Creates a partial modification of a FItemStyle.
Parameters
- FItemStyle.shape - The item's outer shape when outside of an FItemGroup or other similar groups.
- FItemStyle.backgroundColor - The item's background color.
- FItemStyle.margin - The margin around the item, including the
decoration. - FItemStyle.decoration - The item's inner decoration that is drawn above the
backgroundColorbut below the content. - FItemStyle.contentStyle - The default item content's style.
- FItemStyle.rawItemContentStyle - THe default raw item content's style.
- FItemStyle.tappableStyle - The tappable style.
- FItemStyle.focusedOutlineStyle - The focused outline style.
Implementation
const factory FItemStyleDelta.delta({
ShapeBorder? shape,
FVariantsValueDelta<FTappableVariantConstraint, FTappableVariant, Color?, Delta>? backgroundColor,
EdgeInsetsGeometryDelta? margin,
FVariantsDelta<FTappableVariantConstraint, FTappableVariant, Decoration, DecorationDelta>? decoration,
FItemContentStyleDelta? contentStyle,
FRawItemContentStyleDelta? rawItemContentStyle,
FTappableStyleDelta? tappableStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
}) = _FItemStyleDelta;