DocumentToolbar.groups constructor
const
DocumentToolbar.groups({
- Key? key,
- required List<
List< groups,ShellCommand> >
The buttons of groups, in order, with a groupGap between two
non-empty groups (spec C-2): today's toolbar is the two groups
[fileCommands, editCommands].
Implementation
const DocumentToolbar.groups({
super.key,
required List<List<ShellCommand>> groups,
}) : _groups = groups,
fileCommands = const <ShellCommand>[],
editCommands = const <ShellCommand>[];