MarkdownToolbar: Add a vertical divider to group items

The buttons for moving between words shouldn't be grouped together with
the formatting buttons.
This commit is contained in:
Vishesh Handa
2020-08-15 12:49:33 +02:00
parent 87eb0c5419
commit 88328902f4

View File

@ -30,6 +30,10 @@ class MarkdownToolBar extends StatelessWidget {
padding: const EdgeInsets.all(0.0),
onPressed: () => _modifyCurrentWord('**'),
),
Container(
height: 20,
child: const VerticalDivider(),
),
IconButton(
icon: const Icon(Icons.navigate_before),
padding: const EdgeInsets.all(0.0),