M3ESplitButtonTheme class

Theme values for M3ESplitButton.

Inheritance
Annotations

Constructors

M3ESplitButtonTheme({double minTapTarget = 48, double innerGap = 2, double elevatedInnerGap = 4, double chevronOpenTurns = 0.5, double trailingInnerSelectedCornerPercent = 50, double popupElevation = 3, double popupBorderRadius = 18, EdgeInsetsGeometry popupPadding = const EdgeInsets.symmetric(vertical: 8), Offset popupOffset = const Offset(0, 4), double popupMinWidth = 120, double popupMaxWidth = 280, double popupMaxHeight = 400, double popupScrimAlpha = 0.26, M3EButtonMotion popupMotion = M3EButtonMotion.standardPopup})
M3ESplitButtonTheme.
const

Properties

chevronOpenTurns → double
chevronOpenTurns.
final
elevatedInnerGap → double
elevatedInnerGap.
final
hashCode → int
The hash code for this object.
no setterinherited
innerGap → double
innerGap.
final
minTapTarget → double
minTapTarget.
final
popupBorderRadius → double
popupBorderRadius.
final
popupElevation → double
popupElevation.
final
popupMaxHeight → double
popupMaxHeight.
final
popupMaxWidth → double
popupMaxWidth.
final
popupMinWidth → double
popupMinWidth.
final
popupMotion → M3EButtonMotion
popupMotion.
final
popupOffset → Offset
popupOffset.
final
popupPadding → EdgeInsetsGeometry
popupPadding.
final
popupScrimAlpha → double
popupScrimAlpha.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailingInnerSelectedCornerPercent → double
trailingInnerSelectedCornerPercent.
final

Methods

copyWith({double? minTapTarget, double? innerGap, double? elevatedInnerGap, double? chevronOpenTurns, double? trailingInnerSelectedCornerPercent, double? popupElevation, double? popupBorderRadius, EdgeInsetsGeometry? popupPadding, Offset? popupOffset, double? popupMinWidth, double? popupMaxWidth, double? popupMaxHeight, double? popupScrimAlpha, M3EButtonMotion? popupMotion}) → M3ESplitButtonTheme
Returns a copy with non-null fields replaced.
override
lerp(M3ESplitButtonTheme? other, double t) → M3ESplitButtonTheme
Linearly interpolates between this theme and other.
override
menuBackgroundColor.
menuForegroundColor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popupBackgroundColor(M3EColorScheme scheme) → Color
popupBackgroundColor.
splitGapIconToLabel(M3EButtonSize size) → double
splitGapIconToLabel.
splitHeight(M3EButtonSize size) → double
splitHeight.
splitHoveredInnerCornerRadius(M3EButtonSize size) → double
splitHoveredInnerCornerRadius.
splitIcon(M3EButtonSize size) → double
splitIcon.
splitInnerCornerRadius(M3EButtonSize size) → double
splitInnerCornerRadius.
splitInnerPadding(M3EButtonSize size) → double
splitInnerPadding.
splitLabelRightPadding(M3EButtonSize size) → double
splitLabelRightPadding.
splitLeadingButtonLeadingSpace(M3EButtonSize size) → double
splitLeadingButtonLeadingSpace.
splitLeadingButtonTrailingSpace(M3EButtonSize size) → double
splitLeadingButtonTrailingSpace.
splitLeadingIconBlockWidth(M3EButtonSize size) → double
splitLeadingIconBlockWidth.
splitLeftOuterPadding(M3EButtonSize size) → double
splitLeftOuterPadding.
splitMenuIconOffset(M3EButtonSize size) → double
splitMenuIconOffset.
splitOuterRadiusRound(M3EButtonSize size) → double
splitOuterRadiusRound.
splitOuterRadiusSquare(M3EButtonSize size) → double
splitOuterRadiusSquare.
splitPressedRadius(M3EButtonSize size) → double
splitPressedRadius.
splitRightOuterPadding(M3EButtonSize size) → double
splitRightOuterPadding.
splitSidePaddingSelected(M3EButtonSize size) → double
splitSidePaddingSelected.
splitTrailingButtonLeadingSpace(M3EButtonSize size) → double
splitTrailingButtonLeadingSpace.
splitTrailingButtonTrailingSpace(M3EButtonSize size) → double
splitTrailingButtonTrailingSpace.
splitTrailingIconSize(M3EButtonSize size) → double
splitTrailingIconSize.
splitTrailingLeftInnerPadding(M3EButtonSize size) → double
splitTrailingLeftInnerPadding.
splitTrailingWidth(M3EButtonSize size) → double
splitTrailingWidth.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaults → const M3ESplitButtonTheme
defaults.