Add QuillToolbar to home page

pull/13/head
singerdmx 4 years ago
parent 92b45f7792
commit 9f171f1b88
  1. 2
      app/lib/pages/home_page.dart

@ -7,6 +7,7 @@ import 'package:flutter_quill/models/documents/nodes/leaf.dart' as leaf;
import 'package:flutter_quill/widgets/controller.dart';
import 'package:flutter_quill/widgets/default_styles.dart';
import 'package:flutter_quill/widgets/editor.dart';
import 'package:flutter_quill/widgets/toolbar.dart';
class HomePage extends StatefulWidget {
@override
@ -63,6 +64,7 @@ class _HomePageState extends State<HomePage> {
Widget _buildWelcomeEditor(BuildContext context) {
return Column(
children: [
QuillToolbar.basic(controller: _controller),
Divider(height: 1, thickness: 1, color: Colors.grey.shade200),
Expanded(
child: Container(

Loading…
Cancel
Save