ViewTimelineOptions constructor

ViewTimelineOptions({
  1. Element? subject,
  2. ScrollAxis? axis,
})

Implementation

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