ScrollIntoViewOptions constructor

ScrollIntoViewOptions({
  1. ScrollLogicalPosition? block,
  2. ScrollLogicalPosition? inline,
})

Implementation

factory ScrollIntoViewOptions(
        {ScrollLogicalPosition? block, ScrollLogicalPosition? inline}) =>
    ScrollIntoViewOptions._(
        block: block?.value ?? ScrollLogicalPosition.start.value,
        inline: inline?.value ?? ScrollLogicalPosition.nearest.value);