SelectionBehavior constructor
SelectionBehavior({
- bool enable = false,
- Color? selectedColor,
- Color? selectedBorderColor,
- double? selectedBorderWidth,
- Color? unselectedColor,
- Color? unselectedBorderColor,
- double? unselectedBorderWidth,
- double selectedOpacity = 1.0,
- double unselectedOpacity = 0.5,
- RangeController? selectionController,
- bool toggleSelection = true,
Creating an argument constructor of SelectionBehavior class.
Implementation
SelectionBehavior({
this.enable = false,
this.selectedColor,
this.selectedBorderColor,
this.selectedBorderWidth,
this.unselectedColor,
this.unselectedBorderColor,
this.unselectedBorderWidth,
this.selectedOpacity = 1.0,
this.unselectedOpacity = 0.5,
this.selectionController,
this.toggleSelection = true,
});