effectiveStyle property

WxSheetStyle get effectiveStyle

Retrieves the effective style based on the provided properties.

This getter combines the default style with the specified style and other properties to create the final style applied to the widget. It merges the provided styles with the default values and applies any overrides.

Returns the calculated WxSheetStyle instance.

Implementation

WxSheetStyle get effectiveStyle {
  return style.copyWith(
    variant: variant,
    size: size,
    severity: severity,
  );
}