TextEditingBox constructor

TextEditingBox({
  1. Key? key,
  2. required TextModel newText,
  3. required double boundWidth,
  4. required double boundHeight,
  5. required List<String> fonts,
  6. bool isSelected = false,
  7. dynamic onCancel()?,
  8. dynamic onTap()?,
  9. List<Color>? palletColor,
})

Create a TextEditingBox widget

TextModel detail of your picture onTap callback function that called when you tap on TextEditingBox onCancel callback function that called when you tap on Cross icon in TextEditingBox border

Implementation

TextEditingBox(
    {Key? key,
    required this.newText,
    required this.boundWidth,
    required this.boundHeight,
    required this.fonts,
    this.isSelected = false,
    this.onCancel,
    this.onTap,
    this.palletColor})
    : super(key: key);