@@ -40,7 +40,7 @@ class ResponsiveGridView extends StatelessWidget {
4040 final String ? restorationId;
4141
4242 const ResponsiveGridView .builder ({
43- Key ? key,
43+ super . key,
4444 this .scrollDirection = Axis .vertical,
4545 this .reverse = false ,
4646 this .controller,
@@ -62,7 +62,7 @@ class ResponsiveGridView extends StatelessWidget {
6262 this .keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior .manual,
6363 this .clipBehavior = Clip .hardEdge,
6464 this .restorationId,
65- }) : super (key : key) ;
65+ });
6666
6767 @override
6868 Widget build (BuildContext context) {
@@ -201,39 +201,24 @@ class _ResponsiveGridViewLayout extends BoxScrollView {
201201 final int ? itemCount;
202202
203203 const _ResponsiveGridViewLayout ({
204- Key ? key,
205- Axis scrollDirection = Axis .vertical,
206- bool reverse = false ,
207- ScrollController ? controller,
208- bool ? primary,
209- ScrollPhysics ? physics,
210- bool shrinkWrap = false ,
211- EdgeInsetsGeometry ? padding,
204+ super .scrollDirection,
205+ super .reverse,
206+ super .controller,
207+ super .primary,
208+ super .physics,
209+ super .shrinkWrap,
210+ super .padding,
212211 required this .gridDelegate,
213212 required this .childrenDelegate,
214213 this .itemCount,
215- double ? cacheExtent,
214+ super . cacheExtent,
216215 int ? semanticChildCount,
217- DragStartBehavior dragStartBehavior = DragStartBehavior .start,
218- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
219- ScrollViewKeyboardDismissBehavior .manual,
220- String ? restorationId,
221- Clip clipBehavior = Clip .hardEdge,
216+ super .dragStartBehavior,
217+ super .keyboardDismissBehavior,
218+ super .restorationId,
219+ super .clipBehavior,
222220 }) : super (
223- key: key,
224- scrollDirection: scrollDirection,
225- reverse: reverse,
226- controller: controller,
227- primary: primary,
228- physics: physics,
229- shrinkWrap: shrinkWrap,
230- padding: padding,
231- cacheExtent: cacheExtent,
232221 semanticChildCount: semanticChildCount ?? itemCount,
233- dragStartBehavior: dragStartBehavior,
234- keyboardDismissBehavior: keyboardDismissBehavior,
235- restorationId: restorationId,
236- clipBehavior: clipBehavior,
237222 );
238223
239224 @override
0 commit comments