indexOfFirstChild property

  1. @override
int indexOfFirstChild
override

The index of the first child of the viewport relative to the center child.

For example, the center child has index zero and the first child in the reverse growth direction has index -1.

Implementation

@override
int get indexOfFirstChild => 0;