WidgetStyle class abstract

Abstract base class for all widget style implementations.

This interface defines the core contract for widget styling:

  • Style configuration management
  • Native style configuration generation
  • Background, typography, shadow, and padding configuration
Implementers

Constructors

WidgetStyle()

Properties

config StyleConfig
The configuration for this style.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleName String
The name of this style (e.g., 'liquidGlass').
no setter

Methods

getBackgroundConfig() Map<String, dynamic>
Gets the background configuration for this style.
getPaddingConfig() Map<String, dynamic>
Gets the padding configuration for this style.
getShadowConfig() Map<String, dynamic>
Gets the shadow configuration for this style.
getTypographyConfig() Map<String, dynamic>
Gets the typography configuration for this style.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeConfig() Map<String, dynamic>
Converts this style to a native configuration map.
toString() String
A string representation of this object.
inherited

Operators

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