CheckmarkThemeData.from constructor
CheckmarkThemeData.from([
- CheckmarkThemeData? other,
- CheckmarkThemeData fallback = const CheckmarkThemeData()
Creates a CheckmarkThemeData from another one that probably null.
Implementation
CheckmarkThemeData.from([
CheckmarkThemeData? other,
CheckmarkThemeData fallback = const CheckmarkThemeData(),
]) : curve = other?.curve ?? fallback.curve,
duration = other?.duration ?? fallback.duration,
color = other?.color ?? fallback.color,
weight = other?.weight ?? fallback.weight,
size = other?.size ?? fallback.size,
autoSize = other?.autoSize ?? fallback.autoSize,
rounded = other?.rounded ?? fallback.rounded,
drawCross = other?.drawCross ?? fallback.drawCross,
drawDash = other?.drawDash ?? fallback.drawDash;