|
|
@ -78,7 +78,11 @@ class DashNestBumper extends BodyComponent with InitialPosition {
|
|
|
|
bloc: DashNestBumperCubit(),
|
|
|
|
bloc: DashNestBumperCubit(),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/// {@macro dash_nest_bumper}
|
|
|
|
/// Creates an [DashNestBumper] without any children.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// This can be used for testing [DashNestBumper]'s behaviors in isolation.
|
|
|
|
|
|
|
|
// TODO(alestiago): Refactor injecting bloc once the following is merged:
|
|
|
|
|
|
|
|
// https://github.com/flame-engine/flame/pull/1538
|
|
|
|
@visibleForTesting
|
|
|
|
@visibleForTesting
|
|
|
|
DashNestBumper.test({required this.bloc})
|
|
|
|
DashNestBumper.test({required this.bloc})
|
|
|
|
: _majorRadius = 3,
|
|
|
|
: _majorRadius = 3,
|
|
|
|