toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'margin': margin,
      'padding': padding,
      'spacing': spacing,
      'adaptiveSpacing': adaptiveSpacing,
      'align': align,
      'justify': justify,
      'inline': inline,
      'textWrap': textWrap,
      'textAlign': textAlign,
      'textSpacing': textSpacing,
      'textColor': textColor,
      'textOverflow': textOverflow,
      'textSoftWrap': textSoftWrap,
      'textWidthBasis': textWidthBasis,
      'iconColor': iconColor,
      'iconOpacity': iconOpacity,
      'iconSize': iconSize,
      'titleStyle': titleStyle,
      'subtitleStyle': subtitleStyle,
      'secondaryStyle': secondaryStyle,
      'titleSize': titleSize,
      'subtitleSize': subtitleSize,
      'titleColor': titleColor,
      'subtitleColor': subtitleColor,
      'titleMaxLines': titleMaxLines,
      'subtitleMaxLines': subtitleMaxLines,
      'titleWeight': titleWeight,
      'subtitleWeight': subtitleWeight,
    };