StrokeOptions constructor

StrokeOptions({
  1. double? size,
  2. double? thinning,
  3. double? smoothing,
  4. double? streamline,
  5. NumericEasing? easing,
  6. bool? simulatePressure,
  7. TaperOptions? start,
  8. TaperOptions? end,
  9. bool? last,
})

Implementation

StrokeOptions({
  double? size,
  double? thinning,
  double? smoothing,
  double? streamline,
  NumericEasing? easing,
  bool? simulatePressure,
  TaperOptions? start,
  TaperOptions? end,
  bool? last,
}) : size = size ?? defaultSize,
     thinning = thinning ?? defaultThinning,
     smoothing = smoothing ?? defaultSmoothing,
     streamline = streamline ?? defaultStreamline,
     easing = easing ?? defaultEasing,
     simulatePressure = simulatePressure ?? defaultSimulatePressure,
     start = start ?? defaultStart,
     end = end ?? defaultEnd,
     last = last ?? defaultLast;