chore: added orange color for flip and changed platform helper pubspec description

pull/242/head
Jonathan Daniels 3 years ago
parent 5120d4fc74
commit ca2ec3d769

@ -21,7 +21,7 @@ class RoundCountDisplay extends StatelessWidget {
Text( Text(
l10n.rounds, l10n.rounds,
style: AppTextStyle.subtitle1.copyWith( style: AppTextStyle.subtitle1.copyWith(
color: AppColors.orange, color: AppColors.yellow,
), ),
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
@ -53,7 +53,7 @@ class RoundIndicator extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final color = isActive ? AppColors.orange : AppColors.orange.withAlpha(128); final color = isActive ? AppColors.yellow : AppColors.yellow.withAlpha(128);
const size = 8.0; const size = 8.0;
return Padding( return Padding(

@ -59,7 +59,7 @@ class _ScoreDisplay extends StatelessWidget {
Text( Text(
l10n.score.toLowerCase(), l10n.score.toLowerCase(),
style: AppTextStyle.subtitle1.copyWith( style: AppTextStyle.subtitle1.copyWith(
color: AppColors.orange, color: AppColors.yellow,
), ),
), ),
const _ScoreText(), const _ScoreText(),

@ -7,7 +7,9 @@ abstract class AppColors {
static const Color darkBlue = Color(0xFF0C32A4); static const Color darkBlue = Color(0xFF0C32A4);
static const Color orange = Color(0xFFFFEE02); static const Color yellow = Color(0xFFFFEE02);
static const Color orange = Color(0xFFE5AB05);
static const Color blue = Color(0xFF4B94F6); static const Color blue = Color(0xFF4B94F6);

@ -1,5 +1,5 @@
name: platform_helper name: platform_helper
description: A Very Good Project created by Very Good CLI. description: Platform helper for Pinball application.
version: 1.0.0+1 version: 1.0.0+1
publish_to: none publish_to: none

@ -108,7 +108,7 @@ void main() {
expect( expect(
find.byWidgetPredicate( find.byWidgetPredicate(
(widget) => widget is Container && widget.color == AppColors.orange, (widget) => widget is Container && widget.color == AppColors.yellow,
), ),
findsOneWidget, findsOneWidget,
); );
@ -125,7 +125,7 @@ void main() {
find.byWidgetPredicate( find.byWidgetPredicate(
(widget) => (widget) =>
widget is Container && widget is Container &&
widget.color == AppColors.orange.withAlpha(128), widget.color == AppColors.yellow.withAlpha(128),
), ),
findsOneWidget, findsOneWidget,
); );

Loading…
Cancel
Save