LinkLayerData constructor

LinkLayerData({
  1. required String text,
  2. double size = 64,
  3. Color color = Colors.white,
  4. Color background = Colors.transparent,
  5. double backgroundOpacity = 0,
  6. TextAlign align = TextAlign.left,
  7. Offset offset = const Offset(64, 64),
  8. double opacity = 1,
  9. double rotation = 0,
  10. double scale = 1,
})

Implementation

LinkLayerData({
  required this.text,
  this.size = 64,
  this.color = Colors.white,
  this.background = Colors.transparent,
  this.backgroundOpacity = 0,
  this.align = TextAlign.left,
  super.offset,
  super.opacity,
  super.rotation,
  super.scale,
});