FlutterSelectionControls constructor
FlutterSelectionControls({
- required List<
ToolBarItem> toolBarItems, - double horizontalPadding = 16,
- double verticalPadding = 10,
FlutterSelectionControls takes a list of ToolBarItem(s) as arguments The ToolBarItems takes a widget as an argument and it will be shown on the tool bar when the text is selected
Implementation
FlutterSelectionControls(
{required this.toolBarItems, this.horizontalPadding = 16, this.verticalPadding = 10})
: assert(toolBarItems.length > 0);