From de5483a0b25de8a62f3e4ccdb7dcb9362c5c87bb Mon Sep 17 00:00:00 2001 From: al-ayubi2020 Date: Sat, 10 Dec 2022 14:09:34 +0700 Subject: [PATCH] idk #2 --- lib/components/Colors.dart | 5 ----- lib/components/field_email.dart | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 lib/components/Colors.dart diff --git a/lib/components/Colors.dart b/lib/components/Colors.dart deleted file mode 100644 index b5df128..0000000 --- a/lib/components/Colors.dart +++ /dev/null @@ -1,5 +0,0 @@ -// ignore_for_file: file_names - -import 'package:flutter/material.dart'; - -const Color blueColor = Color(0xff21579C); diff --git a/lib/components/field_email.dart b/lib/components/field_email.dart index 277c789..375b1d1 100644 --- a/lib/components/field_email.dart +++ b/lib/components/field_email.dart @@ -1,6 +1,5 @@ // ignore_for_file: file_names -import 'package:trashsure/components/colors.dart'; import 'package:flutter/material.dart'; class EmailField extends StatefulWidget { @@ -33,7 +32,8 @@ class _EmailFieldState extends State emailController = widget.emailController; _animationController = AnimationController( vsync: this, duration: const Duration(milliseconds: 300)); - final tween = ColorTween(begin: Colors.grey.withOpacity(0), end: blueColor); + final tween = ColorTween( + begin: Colors.grey.withOpacity(0), end: const Color(0xff21579C)); _animation = tween.animate(_animationController) ..addListener(() {