- Change
SelectorScope.of(context).pushSelector(selector, completer)
toSelectorScope.showSelector(context, selector, completer)
orSelectorScope.of(context).showSelector(context, selector, completer)
- Change
quill_delta:
toparchment_delta:
inpubspec.yaml
- Change
import 'package:quill_delta/quill_delta.dart';
toimport 'package:parchment_delta/parchment_delta.dart';
- Change
FleatherController(document);
toFleatherController(document: document);
- Change
import 'package:parchment/convert.dart';
toimport 'package:parchment/codecs.dart';
- Change
parchmentMarkdown.encode(delta);
toparchmentMarkdown.encode(ParchmentDocument.fromDelta(delta));
- Change
parchmentMarkdown.decode(markdown);
toparchmentMarkdown.decode(markdown).toDelta();
- Change
parchmentHtml.encode(delta);
toparchmentHtml.encode(ParchmentDocument.fromDelta(delta));
- Change
parchmentHtml.decode(html);
toparchmentHtml.decode(html).toDelta();