try lint avoid_unused_constructor_parameters (#13250)
This commit is contained in:
parent
fcdbdfb476
commit
c358898a76
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user