|
|
@ -4,7 +4,7 @@ import 'package:pinball_theme/pinball_theme.dart';
|
|
|
|
/// [PinballGame] extension to reduce boilerplate in tests.
|
|
|
|
/// [PinballGame] extension to reduce boilerplate in tests.
|
|
|
|
extension PinballGameTest on PinballGame {
|
|
|
|
extension PinballGameTest on PinballGame {
|
|
|
|
/// [PinballGame] with default [PinballTheme].
|
|
|
|
/// [PinballGame] with default [PinballTheme].
|
|
|
|
static PinballGame initial() => PinballGame(
|
|
|
|
static PinballGame create() => PinballGame(
|
|
|
|
theme: const PinballTheme(
|
|
|
|
theme: const PinballTheme(
|
|
|
|
characterTheme: DashTheme(),
|
|
|
|
characterTheme: DashTheme(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|