Skip to content

Commit 543b722

Browse files
committed
fix(ObserveDisplayingChildModelMixin): correct comment
1 parent a4794ef commit 543b722

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/common/models/observe_displaying_child_model_mixin.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ mixin ObserveDisplayingChildModelMixin on ObserveDisplayingChildModel {
4646
double get viewportMainAxisExtent =>
4747
sliver.constraints.viewportMainAxisExtent;
4848

49-
/// The number of pixels the viewport can display in the main axis.
49+
/// The number of pixels to offset the children in the opposite of the axis
50+
/// direction.
5051
double get viewportPixels =>
5152
viewport.offset.hasPixels ? viewport.offset.pixels : 0;
5253

0 commit comments

Comments
 (0)