ScrollTimelineOptions constructor

ScrollTimelineOptions({
  1. Element? source,
  2. ScrollAxis? axis,
})

Implementation

factory ScrollTimelineOptions({Element? source, ScrollAxis? axis}) =>
    ScrollTimelineOptions._(
        source: source ?? undefined,
        axis: axis?.value ?? ScrollAxis.block.value);