toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'variant': variant,
      'severity': severity,
      'shape': shape,
      'width': width,
      'height': height,
      'margin': margin,
      'padding': padding,
      'alignment': alignment,
      'clipBehavior': clipBehavior,
      'overlayDisabled': overlayDisabled,
      'overlayColor': overlayColor,
      'shadowColor': shadowColor,
      'surfaceTint': surfaceTint,
      'elevation': elevation,
      'foregroundStyle': foregroundStyle,
      'foregroundColor': foregroundColor,
      'foregroundOpacity': foregroundOpacity,
      'foregroundAlpha': foregroundAlpha,
      'foregroundSpacing': foregroundSpacing,
      'foregroundLoosen': foregroundLoosen,
      'foregroundExpanded': foregroundExpanded,
      'foregroundAlign': foregroundAlign,
      'foregroundJustify': foregroundJustify,
      'backgroundColor': backgroundColor,
      'backgroundOpacity': backgroundOpacity,
      'backgroundAlpha': backgroundAlpha,
      'borderColor': borderColor,
      'borderOpacity': borderOpacity,
      'borderAlpha': borderAlpha,
      'borderWidth': borderWidth,
      'borderRadius': borderRadius,
      'borderStyle': borderStyle,
      'iconColor': iconColor,
      'iconOpacity': iconOpacity,
      'iconSize': iconSize,
    };