FIPIconController.multiple constructor
FIPIconController.multiple({
- required bool shouldScrollToSelectedIcon,
- List<
IconPickerIcon> selectedIcons = const [], - IconWidgetBuilder? iconBuilder,
Implementation
FIPIconController.multiple({
required bool shouldScrollToSelectedIcon,
List<IconPickerIcon> selectedIcons = const [],
IconWidgetBuilder? iconBuilder,
}) : _selectedIcon =
selectedIcons.isNotNullOrEmpty ? selectedIcons.first : null,
_selectedIcons = selectedIcons,
_shouldScrollToSelectedIcon = shouldScrollToSelectedIcon,
_isMultiple = true,
_iconBuilder = iconBuilder;