TextBoxShape constructor

TextBoxShape({
  1. String text = '',
  2. TextAlign textAlign = TextAlign.center,
  3. TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 20),
  4. Offset location = const Offset(0, 0),
  5. Size size = const Size(20, 20),
  6. Color color = Colors.grey,
  7. Color? borderColor,
  8. int zIndex = 0,
  9. Radius borderRadius = Radius.zero,
  10. int reactSize = 10,
})

Implementation

TextBoxShape({
  this.text = '',
  this.textAlign = TextAlign.center,
  this.textStyle = const TextStyle(
    color: Colors.black,
    fontSize: 20,
  ),
  super.location,
  super.size,
  super.color,
  super.borderColor,
  super.zIndex,
  super.borderRadius,
  super.reactSize,
});