Apply suggestions from code review

Co-authored-by: Alejandro Santiago <dev@alestiago.com>
pull/170/head
Erick 4 years ago committed by GitHub
parent 304c994c26
commit 6f890e560e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,9 +6,7 @@ import 'package:flutter/material.dart';
import 'package:pinball_components/pinball_components.dart'; import 'package:pinball_components/pinball_components.dart';
/// {@template score_text} /// {@template score_text}
/// A [TextComponent] that spawns at a given [position] /// A [TextComponent] that spawns at a given [position] with a moving animation.
/// bundles a simples translate effect and is removed
/// once its animation is completed
/// {@endtemplate} /// {@endtemplate}
class ScoreText extends TextComponent { class ScoreText extends TextComponent {
/// {@macro score_text} /// {@macro score_text}
@ -25,7 +23,7 @@ class ScoreText extends TextComponent {
late final Effect _effect; late final Effect _effect;
/// The [text] [Color] /// The [text]'s [Color].
final Color color; final Color color;
@override @override

Loading…
Cancel
Save