rish07 4 years ago
commit e636047754
  1. 5
      CHANGELOG.md
  2. 10
      app/lib/pages/home_page.dart
  3. 4
      app/pubspec.lock
  4. 6
      lib/widgets/editor.dart
  5. 2
      pubspec.yaml

@ -120,4 +120,7 @@
* Support flutter 2.0.
## [1.0.1]
* Fix static analysis errors.
* Fix static analysis errors.
## [1.0.2]
* Update toolbar in sample home page.

@ -127,12 +127,10 @@ class _HomePageState extends State<HomePage> {
),
),
),
Expanded(
child: Container(
child: QuillToolbar.basic(
controller: _controller,
onImagePickCallback: _onImagePickCallback),
),
Container(
child: QuillToolbar.basic(
controller: _controller,
onImagePickCallback: _onImagePickCallback),
),
],
),

@ -145,7 +145,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0"
version: "1.0.2"
flutter_test:
dependency: "direct dev"
description: flutter
@ -464,6 +464,4 @@ packages:
version: "0.1.2"
sdks:
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.22.0"

@ -114,10 +114,8 @@ Widget _defaultEmbedBuilderWeb(BuildContext context, leaf.Embed node) {
var ui = UniversalUI();
String imageUrl = node.value.data;
Size size = MediaQuery.of(context).size;
ui.platformViewRegistry.registerViewFactory(
imageUrl,
(int viewId) => html.ImageElement()..src = imageUrl,
);
UniversalUI().platformViewRegistry.registerViewFactory(
imageUrl, (int viewId) => html.ImageElement()..src = imageUrl);
return Padding(
padding: EdgeInsets.only(
right: ResponsiveWidget.isMediumScreen(context)

@ -1,6 +1,6 @@
name: flutter_quill
description: One client and affiliated collaborator of Flutter Quill is Bullet Journal App.
version: 1.0.1
version: 1.0.2
#author: bulletjournal
homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill.git

Loading…
Cancel
Save