ScrollIntent constructor Null safety
- {required AxisDirection direction,
- ScrollIncrementType type = ScrollIncrementType.line}
Creates a const ScrollIntent that requests scrolling in the given direction, with the given type.
Implementation
const ScrollIntent({
required this.direction,
this.type = ScrollIncrementType.line,
}) : assert(direction != null),
assert(type != null);