ScrollIncrementDetails constructor Null safety
- {required ScrollIncrementType type,
- required ScrollMetrics metrics}
A const constructor for a ScrollIncrementDetails.
All of the arguments must not be null, and are required.
Implementation
const ScrollIncrementDetails({
required this.type,
required this.metrics,
}) : assert(type != null),
assert(metrics != null);