mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-02 04:47:01 +08:00
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:
@ -30,6 +30,10 @@ class MarkdownToolBar extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.all(0.0),
|
padding: const EdgeInsets.all(0.0),
|
||||||
onPressed: () => _modifyCurrentWord('**'),
|
onPressed: () => _modifyCurrentWord('**'),
|
||||||
),
|
),
|
||||||
|
Container(
|
||||||
|
height: 20,
|
||||||
|
child: const VerticalDivider(),
|
||||||
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.navigate_before),
|
icon: const Icon(Icons.navigate_before),
|
||||||
padding: const EdgeInsets.all(0.0),
|
padding: const EdgeInsets.all(0.0),
|
||||||
|
Reference in New Issue
Block a user