File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ class DrawerController extends StatefulWidget {
339339 ///
340340 /// The [child] argument is typically a [Drawer] .
341341 const DrawerController ({
342- GlobalKey ? key,
342+ GlobalKey ? super . key,
343343 required this .child,
344344 required this .alignment,
345345 this .isDrawerOpen = false ,
@@ -349,7 +349,7 @@ class DrawerController extends StatefulWidget {
349349 this .edgeDragWidth,
350350 this .enableOpenDragGesture = true ,
351351 this .drawerBarrierDismissible = true ,
352- }) : super (key : key) ;
352+ });
353353
354354 /// The widget below this widget in the tree.
355355 ///
Original file line number Diff line number Diff line change @@ -74,13 +74,12 @@ class DropdownMenuFormField<T> extends FormField<T> {
7474 MenuController ? menuController,
7575 super .restorationId,
7676 super .onSaved,
77- AutovalidateMode autovalidateMode = AutovalidateMode .disabled,
77+ super . autovalidateMode = AutovalidateMode .disabled,
7878 super .validator,
7979 super .forceErrorText,
8080 super .errorBuilder,
8181 }) : super (
8282 initialValue: initialSelection,
83- autovalidateMode: autovalidateMode,
8483 builder: (FormFieldState <T > field) {
8584 final state = field as _DropdownMenuFormFieldState <T >;
8685
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class _InputBorderTween extends Tween<InputBorder> {
113113// Passes the _InputBorderGap parameters along to an InputBorder's paint method.
114114class _InputBorderPainter extends CustomPainter {
115115 _InputBorderPainter ({
116- required Listenable repaint,
116+ required super . repaint,
117117 required this .borderAnimation,
118118 required this .border,
119119 required this .gapAnimation,
@@ -122,7 +122,7 @@ class _InputBorderPainter extends CustomPainter {
122122 required this .fillColor,
123123 required this .hoverAnimation,
124124 required this .hoverColorTween,
125- }) : super (repaint : repaint) ;
125+ });
126126
127127 final Animation <double > borderAnimation;
128128 final _InputBorderTween border;
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class _TestPageRoute<T> extends MaterialPageRoute<T> {
7070}
7171
7272class _TestPage extends Page <dynamic > {
73- _TestPage ({required this .builder, required LocalKey key}) : _key = GlobalKey (), super (key : key );
73+ _TestPage ({required this .builder, required LocalKey super . key}) : _key = GlobalKey ();
7474
7575 final WidgetBuilder builder;
7676 final GlobalKey <dynamic > _key;
You can’t perform that action at this time.
0 commit comments