SheetThemeData.from constructor

SheetThemeData.from([
  1. SheetThemeData? other
])

Creates a SheetThemeData from another one that probably null.

Implementation

SheetThemeData.from([SheetThemeData? other])
    : curve = other?.curve ?? fallback.curve,
      duration = other?.duration ?? fallback.duration,
      style = other?.style ?? fallback.style,
      variantStyle = other?.variantStyle ?? fallback.variantStyle,
      dangerStyle = other?.dangerStyle ?? fallback.dangerStyle,
      warningStyle = other?.warningStyle ?? fallback.warningStyle,
      successStyle = other?.successStyle ?? fallback.successStyle,
      infoStyle = other?.infoStyle ?? fallback.infoStyle;