SnappingScrollNotificationHandler constructor
SnappingScrollNotificationHandler({})
Implementation
SnappingScrollNotificationHandler({
required this.expandedBarHeight,
required this.collapsedBarHeight,
this.bottomBarHeight = 0.0,
this.shouldAddHapticFeedback = false,
}) : assert(
expandedBarHeight > 0.0,
'Expanded Bar Height cannot be negative',
),
assert(
collapsedBarHeight > 0.0,
'Collapsed bar height cannot have a negative value',
),
assert(
collapsedBarHeight < expandedBarHeight,
'Expanded bar height value must have a higher value than the collapsed bar height value',
);