Commit fc0fa1ba authored by Sai Srinivas's avatar Sai Srinivas
Browse files

ui and icon fixed

parents 0515ce45 4912f66c
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
</g> </g>
<defs> <defs>
<linearGradient id="paint0_linear_335_3850" x1="0.0312727" y1="13.1427" x2="26.3165" y2="13.1427" gradientUnits="userSpaceOnUse"> <linearGradient id="paint0_linear_335_3850" x1="0.0312727" y1="13.1427" x2="26.3165" y2="13.1427" gradientUnits="userSpaceOnUse">
<stop stop-color="#ED6C14"/> <stop stop-color="#F2F2F2"/>
<stop offset="0.6" stop-color="#FF9045"/> <stop offset="0.6" stop-color="#F2F2F2"/>
<stop offset="1" stop-color="#FFB54A"/> <stop offset="1" stop-color="#F2F2F2"/>
</linearGradient> </linearGradient>
<clipPath id="clip0_335_3850"> <clipPath id="clip0_335_3850">
<rect width="26.2853" height="26.2853" fill="white"/> <rect width="26.2853" height="26.2853" fill="white"/>
......
<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.0887103 1.09077C0.0887103 1.09077 -1.20068 8.74457 6.05206 12.9506C13.3053 8.74457 12.0159 1.09077 12.0159 1.09077C12.0159 1.09077 6.45644 -1.36347 0.0887103 1.09077Z" fill="url(#paint0_linear_139_2102)"/>
<path d="M0.0887103 1.09077C0.0887103 1.09077 -1.20068 8.74457 6.05206 12.9506C13.3053 8.74457 12.0159 1.09077 12.0159 1.09077C12.0159 1.09077 6.45644 -1.36347 0.0887103 1.09077Z" fill="url(#paint1_linear_139_2102)"/>
<path d="M8.60467 3.34546L5.30024 6.64993L3.99206 5.34168L3.08325 6.2504L5.30024 8.46739L9.5134 4.25425L8.60467 3.34546Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_139_2102" x1="6.05231" y1="10.7833" x2="6.05231" y2="-2.36507" gradientUnits="userSpaceOnUse">
<stop stop-color="#008301"/>
<stop offset="0.6393" stop-color="#2BB02E"/>
<stop offset="1" stop-color="#3FC442"/>
</linearGradient>
<linearGradient id="paint1_linear_139_2102" x1="8.12288" y1="12.5618" x2="0.783855" y2="-2.50266" gradientUnits="userSpaceOnUse">
<stop offset="0.2486" stop-color="#777777"/>
<stop offset="0.9279" stop-color="#777777"/>
</linearGradient>
</defs>
</svg>
...@@ -612,6 +612,7 @@ class _HomeScreenState extends State<HomeScreen> { ...@@ -612,6 +612,7 @@ class _HomeScreenState extends State<HomeScreen> {
const SizedBox(height: 8), const SizedBox(height: 8),
Row( Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
// Status Badge with checkmark for AMC Protected // Status Badge with checkmark for AMC Protected
if (amc == "1" || amc == "2") if (amc == "1" || amc == "2")
...@@ -686,11 +687,10 @@ class _HomeScreenState extends State<HomeScreen> { ...@@ -686,11 +687,10 @@ class _HomeScreenState extends State<HomeScreen> {
Row( Row(
children: [ children: [
SvgPicture.asset( SvgPicture.asset(
"assets/svg/tick2_ic.svg",
height: 14, height: 14,
color: warranty == "1" warranty == "1"
? AppColors.warning ? "assets/svg/tick2_ic.svg"
: AppColors.subtitleText, : "assets/svg/tick3_ic.svg",
), ),
const SizedBox(width: 6), const SizedBox(width: 6),
Text( Text(
......
...@@ -579,6 +579,7 @@ class _ProfileScreenState extends State<ProfileScreen> { ...@@ -579,6 +579,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
required String title, required String title,
required String subTitle, required String subTitle,
}) { }) {
final isShow = title != "Sub Locality" && title != "State";
return Container( return Container(
padding: EdgeInsets.all(16), padding: EdgeInsets.all(16),
child: Row( child: Row(
...@@ -587,7 +588,7 @@ class _ProfileScreenState extends State<ProfileScreen> { ...@@ -587,7 +588,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
Container( Container(
padding: EdgeInsets.all(title =="Address" ? 8 :12), padding: EdgeInsets.all(title =="Address" ? 8 :12),
decoration: BoxDecoration( decoration: BoxDecoration(
color: iconBg, color: isShow ? iconBg : Colors.transparent,
borderRadius: BorderRadius.circular(18) borderRadius: BorderRadius.circular(18)
), ),
child: SvgPicture.asset( child: SvgPicture.asset(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment