mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
flutter formar
This commit is contained in:
@ -24,7 +24,6 @@ class MyHomePage extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _MyHomePageState extends State<MyHomePage> {
|
||||
|
||||
Position _position = Position(256.0, 256.0);
|
||||
|
||||
@override
|
||||
|
||||
@ -44,7 +44,6 @@ abstract class Game {
|
||||
/// Returns the game widget. Put this in your structure to start rendering and updating the game.
|
||||
/// You can add it directly to the runApp method or inside your widget structure (if you use vanilla screens and widgets).
|
||||
Widget get widget => builder.build(this);
|
||||
|
||||
}
|
||||
|
||||
class WidgetBuilder {
|
||||
|
||||
Reference in New Issue
Block a user