Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/material_ui/lib/src/drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class DrawerController extends StatefulWidget {
///
/// The [child] argument is typically a [Drawer].
const DrawerController({
GlobalKey? key,
GlobalKey? super.key,
required this.child,
required this.alignment,
this.isDrawerOpen = false,
Expand All @@ -349,7 +349,7 @@ class DrawerController extends StatefulWidget {
this.edgeDragWidth,
this.enableOpenDragGesture = true,
this.drawerBarrierDismissible = true,
}) : super(key: key);
});

/// The widget below this widget in the tree.
///
Expand Down
3 changes: 1 addition & 2 deletions packages/material_ui/lib/src/dropdown_menu_form_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,12 @@ class DropdownMenuFormField<T> extends FormField<T> {
MenuController? menuController,
super.restorationId,
super.onSaved,
AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
super.autovalidateMode = AutovalidateMode.disabled,
super.validator,
super.forceErrorText,
super.errorBuilder,
}) : super(
initialValue: initialSelection,
autovalidateMode: autovalidateMode,
builder: (FormFieldState<T> field) {
final state = field as _DropdownMenuFormFieldState<T>;

Expand Down
4 changes: 2 additions & 2 deletions packages/material_ui/lib/src/input_decorator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class _InputBorderTween extends Tween<InputBorder> {
// Passes the _InputBorderGap parameters along to an InputBorder's paint method.
class _InputBorderPainter extends CustomPainter {
_InputBorderPainter({
required Listenable repaint,
required super.repaint,
required this.borderAnimation,
required this.border,
required this.gapAnimation,
Expand All @@ -122,7 +122,7 @@ class _InputBorderPainter extends CustomPainter {
required this.fillColor,
required this.hoverAnimation,
required this.hoverColorTween,
}) : super(repaint: repaint);
});

final Animation<double> borderAnimation;
final _InputBorderTween border;
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/test/will_pop_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _TestPageRoute<T> extends MaterialPageRoute<T> {
}

class _TestPage extends Page<dynamic> {
_TestPage({required this.builder, required LocalKey key}) : _key = GlobalKey(), super(key: key);
_TestPage({required this.builder, required LocalKey super.key}) : _key = GlobalKey();

final WidgetBuilder builder;
final GlobalKey<dynamic> _key;
Expand Down
Loading