@ -5,7 +5,7 @@ import 'package:pinball/start_game/start_game.dart';
import 'package:pinball_ui/pinball_ui.dart';
/// {@template replay_button_overlay}
/// [Widget] that renders the button responsible to restart the game
/// [Widget] that renders the button responsible for restarting the game.
/// {@endtemplate}
class ReplayButtonOverlay extends StatelessWidget {
/// {@macro replay_button_overlay}
@ -142,11 +142,11 @@
},
"share": "SHARE",
"@share": {
"description": "Text for share link at info screen."
"description": "Text for share link on info screen."
"gotoIO": "GO TO I/O",
"@gotoIO": {
"description": "Text for going to I/O site link at info screen."
"description": "Text for going to I/O site link on info screen."
"learnMore": "Learn more about building games in Flutter with",
"@learnMore": {
@ -239,7 +239,7 @@ void main() {
);
flameTester.test(
'calls ScoreShareRequested when share on InfoDisplay',
'adds ScoreShareRequested when share is tapped on InfoDisplay',
(game) async {
final state = InitialsSuccessState(
score: 100,
@ -94,7 +94,7 @@ void main() {
});
blocTest<BackboxBloc, BackboxState>(
'adds ShareState on ScoreShareRequested',
'emits ShareState on ScoreShareRequested',
setUp: () {
leaderboardRepository = _MockLeaderboardRepository();