ScrollUntilVisibleStep constructor Null safety

ScrollUntilVisibleStep(
  1. {required String? increment,
  2. String? scrollableId,
  3. required String? testableId,
  4. Duration? timeout}
)

Implementation

ScrollUntilVisibleStep({
  required this.increment,
  this.scrollableId,
  required this.testableId,
  this.timeout,
}) : assert(testableId?.isNotEmpty == true);