FlutterSelectionControls constructor

FlutterSelectionControls({
  1. required List<ToolBarItem> toolBarItems,
  2. double horizontalPadding = 16,
  3. 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);