toMap method
Implementation
Map<String, dynamic> toMap() => {
'size': size,
'shape': shape,
'margin': margin,
'clipBehavior': clipBehavior,
'shadowColor': shadowColor,
'elevation': elevation,
'foregroundStyle': foregroundStyle,
'foregroundColor': foregroundColor,
'foregroundOpacity': foregroundOpacity,
'foregroundAlpha': foregroundAlpha,
'foregroundSpacing': foregroundSpacing,
'backgroundColor': backgroundColor,
'backgroundOpacity': backgroundOpacity,
'backgroundAlpha': backgroundAlpha,
'borderColor': borderColor,
'borderOpacity': borderOpacity,
'borderAlpha': borderAlpha,
'borderWidth': borderWidth,
'borderRadius': borderRadius,
'borderStyle': borderStyle,
};