TextBoxShape constructor

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

Implementation

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