mirror of https://github.com/flutter/pinball.git
parent
4becca9632
commit
962d244711
@ -1 +0,0 @@
|
||||
export 'component_controller.dart';
|
@ -1,3 +1,3 @@
|
||||
library pinball_flame;
|
||||
|
||||
export 'src/pinball_flame.dart';
|
||||
export 'src/component_controller.dart';
|
||||
|
@ -1,12 +1,9 @@
|
||||
import 'package:flame/components.dart';
|
||||
import 'package:flame_bloc/flame_bloc.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
/// {@template component_controller}
|
||||
/// A [ComponentController] is a [Component] in charge of handling the logic
|
||||
/// associated with another [Component].
|
||||
///
|
||||
/// [ComponentController]s usually implement [BlocComponent].
|
||||
/// {@endtemplate}
|
||||
abstract class ComponentController<T extends Component> extends Component {
|
||||
/// {@macro component_controller}
|
@ -1,7 +0,0 @@
|
||||
/// {@template pinball_flame}
|
||||
/// A Very Good Project created by Very Good CLI.
|
||||
/// {@endtemplate}
|
||||
class PinballFlame {
|
||||
/// {@macro pinball_flame}
|
||||
const PinballFlame();
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
// ignore_for_file: prefer_const_constructors
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:pinball_flame/pinball_flame.dart';
|
||||
|
||||
void main() {
|
||||
group('PinballFlame', () {
|
||||
test('can be instantiated', () {
|
||||
expect(PinballFlame(), isNotNull);
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in new issue