diff --git a/packages/flutter/lib/src/rendering/view.dart b/packages/flutter/lib/src/rendering/view.dart index 15e4409725..bd38fe5c61 100644 --- a/packages/flutter/lib/src/rendering/view.dart +++ b/packages/flutter/lib/src/rendering/view.dart @@ -282,7 +282,6 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin } @override - // ignore: MUST_CALL_SUPER void debugFillProperties(DiagnosticPropertiesBuilder properties) { // call to ${super.debugFillProperties(description)} is omitted because the // root superclasses don't include any interesting information for this diff --git a/packages/flutter/lib/src/scheduler/binding.dart b/packages/flutter/lib/src/scheduler/binding.dart index d24dd67631..14d0b18329 100644 --- a/packages/flutter/lib/src/scheduler/binding.dart +++ b/packages/flutter/lib/src/scheduler/binding.dart @@ -60,7 +60,6 @@ typedef SchedulingStrategy = bool Function({ int priority, SchedulerBinding sche class _TaskEntry { _TaskEntry(this.task, this.priority, this.debugLabel, this.flow) { - // ignore: prefer_asserts_in_initializer_lists assert(() { debugStack = StackTrace.current; return true; diff --git a/packages/flutter/test/painting/decoration_test.dart b/packages/flutter/test/painting/decoration_test.dart index 5747b4ef3a..dfa2ed388e 100644 --- a/packages/flutter/test/painting/decoration_test.dart +++ b/packages/flutter/test/painting/decoration_test.dart @@ -375,10 +375,10 @@ void main() { }); test('Decoration.lerp with unrelated decorations', () { - expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.0), isA()); // ignore: CONST_EVAL_THROWS_EXCEPTION - expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.25), isA()); // ignore: CONST_EVAL_THROWS_EXCEPTION - expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.75), isA()); // ignore: CONST_EVAL_THROWS_EXCEPTION - expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 1.0), isA()); // ignore: CONST_EVAL_THROWS_EXCEPTION + expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.0), isA()); + expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.25), isA()); + expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 0.75), isA()); + expect(Decoration.lerp(const FlutterLogoDecoration(), const BoxDecoration(), 1.0), isA()); }); test('paintImage BoxFit.none scale test', () {