Skip to content

Commit 67b2d29

Browse files
committed
Simulator #3
1 parent 6d7bf20 commit 67b2d29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/src/transformers/node_transformers/passive_page_view_transformer.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ class _PassivePageViewWidgetState extends State<PassivePageViewWidget> {
7474

7575
final ScopedValues scopedValues = ScopedValues.of(context);
7676

77-
// Get the value of bound variable and update the controller text if it's
78-
// different from the current controller text.
79-
// widget.node.variables['inputValue'] only works when a sync variable is specified. If it is not then
80-
// we rely on initial text to be able to see if controller text needs to be updated.
77+
// Get the value of bound variable and update the controller page index if
78+
// it's different from the current controller page index.
79+
// widget.node.variables['indexValue'] only works when a sync variable is
80+
// specified.
8181
if (widget.node.variables['indexValue'] != null) {
8282
final int? currentPropertyValue =
8383
PropertyValueDelegate.getPropertyValue<int>(

0 commit comments

Comments
 (0)