updateTextOverlay method

void updateTextOverlay({
  1. required String id,
  2. String? text,
  3. double? fontSize,
  4. Color? color,
  5. TextOverlayStyle? style,
  6. Color? backgroundColor,
  7. bool? bold,
})

Implementation

void updateTextOverlay({
  required String id,
  String? text,
  double? fontSize,
  Color? color,
  TextOverlayStyle? style,
  Color? backgroundColor,
  bool? bold,
}) {
  textController.updateTextOverlay(
    id,
    text: text,
    fontSize: fontSize,
    color: color,
    style: style,
    backgroundColor: backgroundColor,
    bold: bold,
  );
  _saveState();
  notifyListeners();
}