lexical_image 1.6.1
lexical_image: ^1.6.1 copied to clipboard
Image nodes for lexical_core, with a resizable Flutter widget: drag handles with configurable minimum and maximum size, aspect-ratio preservation and optional captions.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lexical_imageWith Flutter:
$ flutter pub add lexical_imageThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lexical_image: ^1.6.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lexical_image/lexical_image.dart';