feat: render drop target (#848)
* feat: expose method to render drop target * feat: add style to drop target * feat: add DropTargetRenderData for more concise control * fix: split up rendering and data fetching * chore: clean unused code * chore: remove unused example code for testing
This commit is contained in:
parent
61d4363b46
commit
819e579afd
1 changed files with 240 additions and 15 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:example/pages/desktop_editor.dart';
|
||||
import 'package:example/pages/mobile_editor.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
|
||||
class Editor extends StatefulWidget {
|
||||
const Editor({
|
||||
|
|
|
|||
Loading…
Reference in a new issue