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