Skip to content

Commit c826a92

Browse files
committed
minor code snippet adjustments
1 parent 596a22d commit c826a92

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/generated-code/pages-generated-code.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ When dealing with dynamic lists of components, such as those in a `ListView`, Ro
7777
```js
7878
// Models for CategoryAvatar dynamic component.
7979
Map<String, FlutterFlowModel> categoryAvatarModels = {};
80-
8180
```
8281
8382
#### dispose()
@@ -106,7 +105,6 @@ class ProductListPageWidget extends StatefulWidget {
106105
@override
107106
State<ProductListPageWidget> createState() => _ProductListPageWidgetState();
108107
}
109-
110108
```
111109
112110
#### PageModel Initialization
@@ -122,7 +120,6 @@ class _ProductListPageWidgetState extends State<ProductListPageWidget> {
122120
_model = createModel(context, () => ProductDetailPageModel());
123121

124122
}
125-
126123
```
127124
128125
#### PageModel Dispose
@@ -140,7 +137,7 @@ Similarly, the [`dispose` method](#dispose) of the `PageModel` class is invoked
140137
Each page includes a `GlobalKey` for the `Scaffold`, which can be used to manage the scaffold's state, such as opening or closing drawers or snackbars programmatically.
141138
142139
```js
143-
final scaffoldKey = GlobalKey<ScaffoldState>();
140+
final scaffoldKey = GlobalKey<ScaffoldState>();
144141

145142
return Scaffold(
146143
key: scaffoldKey,

0 commit comments

Comments
 (0)