TextBoxShape constructor
TextBoxShape({
- String text = '',
- TextAlign textAlign = TextAlign.center,
- bool makeAdaptive = true,
- TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 20),
- Size minimumSizeOfShape = const Size(40, 40),
- Offset location = const Offset(0, 0),
- Size size = const Size(20, 20),
- Color color = Colors.transparent,
- Color? borderColor,
- int zIndex = 0,
- Radius borderRadius = Radius.zero,
- 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,
});