CockpitScrollStepResult constructor

const CockpitScrollStepResult({
  1. required bool didScroll,
  2. String strategy = 'none',
  3. String? scrollableKey,
  4. String? scrollablePath,
  5. String? scrollableTypeName,
  6. double? pixelsBefore,
  7. double? pixelsAfter,
  8. double? nextPixels,
  9. double? minScrollExtent,
  10. double? maxScrollExtent,
  11. double? viewportDimension,
  12. bool? acceptsUserOffset,
  13. bool? allowsProgrammaticScroll,
  14. bool hadGestureTarget = false,
  15. bool hadSemanticAction = false,
  16. bool matchedRegistryTarget = false,
})

Implementation

const CockpitScrollStepResult({
  required this.didScroll,
  this.strategy = 'none',
  this.scrollableKey,
  this.scrollablePath,
  this.scrollableTypeName,
  this.pixelsBefore,
  this.pixelsAfter,
  this.nextPixels,
  this.minScrollExtent,
  this.maxScrollExtent,
  this.viewportDimension,
  this.acceptsUserOffset,
  this.allowsProgrammaticScroll,
  this.hadGestureTarget = false,
  this.hadSemanticAction = false,
  this.matchedRegistryTarget = false,
});