FItemStyleDelta.delta constructor
const
FItemStyleDelta.delta({
- ShapeBorder? shape,
- FVariantsValueDelta<
FTappableVariantConstraint, FTappableVariant, Color?, Delta> ? backgroundColor, - EdgeInsetsGeometryDelta? padding,
- FVariantsDelta<
FTappableVariantConstraint, FTappableVariant, Decoration, DecorationDelta> ? contentDecoration, - FItemContentStyleDelta? contentStyle,
- FRawItemContentStyleDelta? rawContentStyle,
- FTappableStyleDelta? tappableStyle,
- FFocusedOutlineStyle? focusedOutlineStyle,
Creates a partial modification of a FItemStyle.
Parameters
- FItemStyle.shape - The item's shape, only applied when outside an FItemGroup or other similar groups.
- FItemStyle.backgroundColor - The item's background color, enclosing the
paddingand content, and belowcontentDecoration. - FItemStyle.padding - The padding around the
contentDecoration. - FItemStyle.contentDecoration - The content's decoration, enclosed within
paddingandshape, and abovebackgroundColor. - FItemStyle.contentStyle - The content's style.
- FItemStyle.rawContentStyle - The raw 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? padding,
FVariantsDelta<FTappableVariantConstraint, FTappableVariant, Decoration, DecorationDelta>? contentDecoration,
FItemContentStyleDelta? contentStyle,
FRawItemContentStyleDelta? rawContentStyle,
FTappableStyleDelta? tappableStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
}) = _FItemStyleDelta;