EtchRRect.alignment constructor

EtchRRect.alignment({
  1. required Offset topLeftAlignment,
  2. required Offset bottomRightAlignment,
  3. double radius = 0.0,
  4. EtchStyle? etchStyle,
})

Implementation

EtchRRect.alignment({
  required Offset topLeftAlignment,
  required Offset bottomRightAlignment,
  double radius = 0.0,
  EtchStyle? etchStyle,
})  : _topLeftAlignment = topLeftAlignment,
      _bottomRightAlignment = bottomRightAlignment,
      _radius = radius,
      etchStyle = etchStyle ?? EtchStyle();