Remove obsolete ignore: (#27199)
This commit is contained in:
parent
9499cb1040
commit
c9d5b129e2
@ -302,8 +302,7 @@ mixin RendererBinding on BindingBase, ServicesBinding, SchedulerBinding, Semanti
|
|||||||
void hitTest(HitTestResult result, Offset position) {
|
void hitTest(HitTestResult result, Offset position) {
|
||||||
assert(renderView != null);
|
assert(renderView != null);
|
||||||
renderView.hitTest(result, position: position);
|
renderView.hitTest(result, position: position);
|
||||||
// This super call is safe since it will be bound to a mixed-in declaration.
|
super.hitTest(result, position);
|
||||||
super.hitTest(result, position); // ignore: abstract_super_member_reference
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _forceRepaint() {
|
Future<void> _forceRepaint() {
|
||||||
|
@ -410,7 +410,6 @@ class PaintingContext extends ClipContext {
|
|||||||
/// * `painter` is a callback that will paint with the `clipRRect` applied. This
|
/// * `painter` is a callback that will paint with the `clipRRect` applied. This
|
||||||
/// function calls the `painter` synchronously.
|
/// function calls the `painter` synchronously.
|
||||||
/// * `clipBehavior` controls how the path is clipped.
|
/// * `clipBehavior` controls how the path is clipped.
|
||||||
// ignore: deprecated_member_use
|
|
||||||
void pushClipRRect(bool needsCompositing, Offset offset, Rect bounds, RRect clipRRect, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias}) {
|
void pushClipRRect(bool needsCompositing, Offset offset, Rect bounds, RRect clipRRect, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias}) {
|
||||||
assert(clipBehavior != null);
|
assert(clipBehavior != null);
|
||||||
final Rect offsetBounds = bounds.shift(offset);
|
final Rect offsetBounds = bounds.shift(offset);
|
||||||
@ -435,7 +434,6 @@ class PaintingContext extends ClipContext {
|
|||||||
/// * `painter` is a callback that will paint with the `clipPath` applied. This
|
/// * `painter` is a callback that will paint with the `clipPath` applied. This
|
||||||
/// function calls the `painter` synchronously.
|
/// function calls the `painter` synchronously.
|
||||||
/// * `clipBehavior` controls how the rounded rectangle is clipped.
|
/// * `clipBehavior` controls how the rounded rectangle is clipped.
|
||||||
// ignore: deprecated_member_use
|
|
||||||
void pushClipPath(bool needsCompositing, Offset offset, Rect bounds, Path clipPath, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias}) {
|
void pushClipPath(bool needsCompositing, Offset offset, Rect bounds, Path clipPath, PaintingContextCallback painter, {Clip clipBehavior = Clip.antiAlias}) {
|
||||||
assert(clipBehavior != null);
|
assert(clipBehavior != null);
|
||||||
final Rect offsetBounds = bounds.shift(offset);
|
final Rect offsetBounds = bounds.shift(offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user