mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
fix: Remove deprecations for 1.10.0 (#2809)
Removed deprecations for 1.10.0 and fixes some small unreleased regressions found when going through the examples.
This commit is contained in:
@ -3,6 +3,7 @@ import 'dart:ui';
|
||||
|
||||
import 'package:flame/components.dart';
|
||||
import 'package:flame/effects.dart';
|
||||
import 'package:flame/events.dart';
|
||||
import 'package:flame/game.dart';
|
||||
import 'package:flame/input.dart';
|
||||
import 'package:flutter/material.dart' hide Gradient;
|
||||
@ -62,7 +63,7 @@ class ClipComponentExample extends FlameGame with TapDetector {
|
||||
|
||||
@override
|
||||
void onTapUp(TapUpInfo info) {
|
||||
final position = info.eventPosition.game;
|
||||
final position = info.eventPosition.widget;
|
||||
final hit = children
|
||||
.whereType<PositionComponent>()
|
||||
.where(
|
||||
|
||||
Reference in New Issue
Block a user