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;
|
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/components.dart';
|
||||||
import 'package:flame_bloc/flame_bloc.dart';
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
/// {@template component_controller}
|
/// {@template component_controller}
|
||||||
/// A [ComponentController] is a [Component] in charge of handling the logic
|
/// A [ComponentController] is a [Component] in charge of handling the logic
|
||||||
/// associated with another [Component].
|
/// associated with another [Component].
|
||||||
///
|
|
||||||
/// [ComponentController]s usually implement [BlocComponent].
|
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
abstract class ComponentController<T extends Component> extends Component {
|
abstract class ComponentController<T extends Component> extends Component {
|
||||||
/// {@macro component_controller}
|
/// {@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