StatusChange.custom constructor
StatusChange.custom({
- Key? key,
- Axis? scrollDirection,
- required SliverChildDelegate childrenDelegate,
- StatusChangeThemeData? theme,
Implementation
StatusChange.custom({
Key? key,
Axis? scrollDirection,
required this.childrenDelegate,
StatusChangeThemeData? theme,
}) : assert(childrenDelegate != null),
assert(scrollDirection == null || theme == null,
'Cannot provide both a scrollDirection and a theme.'),
this.theme = theme,
super(
key: key,
scrollDirection: scrollDirection ?? theme?.direction ?? Axis.vertical,
);