move toolbar

pull/13/head
li3317 4 years ago
parent f716457e12
commit 2c07680462
  1. 13
      app/lib/pages/home_page.dart

@ -68,11 +68,8 @@ class _HomePageState extends State<HomePage> {
Widget _buildWelcomeEditor(BuildContext context) { Widget _buildWelcomeEditor(BuildContext context) {
return Column( return Column(
children: [ crossAxisAlignment: CrossAxisAlignment.stretch,
QuillToolbar.basic( children: <Widget>[
controller: _controller,
uploadFileCallback: _fakeUploadImageCallBack),
Divider(height: 1, thickness: 1, color: Colors.grey.shade200),
Expanded( Expanded(
child: Container( child: Container(
color: Colors.white, color: Colors.white,
@ -90,6 +87,12 @@ class _HomePageState extends State<HomePage> {
), ),
), ),
), ),
Container(
padding: new EdgeInsets.all(10.0),
child: QuillToolbar.basic(
controller: _controller,
uploadFileCallback: _fakeUploadImageCallBack),
)
], ],
); );
} }

Loading…
Cancel
Save