Unverified Commit c358898a authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

try lint avoid_unused_constructor_parameters (#13250)

parent fcdbdfb4
......@@ -70,7 +70,7 @@ linter:
# - avoid_setters_without_getters # not yet tested
- avoid_slow_async_io
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
# - avoid_unused_constructor_parameters # not yet tested
# - avoid_unused_constructor_parameters # https://github.com/dart-lang/linter/pull/847
- await_only_futures
- camel_case_types
- cancel_subscriptions
......
......@@ -63,7 +63,7 @@ linter:
# - avoid_setters_without_getters # not yet tested
- avoid_slow_async_io
# - avoid_types_on_closure_parameters # conflicts with always_specify_types
# - avoid_unused_constructor_parameters # not yet tested
# - avoid_unused_constructor_parameters # https://github.com/dart-lang/linter/pull/847
- await_only_futures
- camel_case_types
- cancel_subscriptions
......
......@@ -1955,7 +1955,6 @@ class DiagnosticableNode<T extends Diagnosticable> extends DiagnosticsNode {
String name,
@required this.value,
@required DiagnosticsTreeStyle style,
String emptyBodyDescription,
}) : assert(value != null),
super(
name: name,
......
......@@ -127,6 +127,7 @@ class RenderEditable extends RenderBox {
_showCursor = showCursor ?? new ValueNotifier<bool>(false),
_hasFocus = hasFocus ?? false,
_maxLines = maxLines,
_selectionColor = selectionColor,
_selection = selection,
_offset = offset {
assert(_showCursor != null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment