Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sai Srinivas
gen_services
Commits
6f73c3f4
Commit
6f73c3f4
authored
Nov 15, 2025
by
Sai Srinivas
Browse files
UI changes
parent
72fe8e92
Changes
47
Expand all
Hide whitespace changes
Inline
Side-by-side
lib/Screens/HelpAndComplaintScreens/ComplaintListScreen.dart
View file @
6f73c3f4
...
...
@@ -204,7 +204,7 @@ class _ComplaintListScreenState extends State<ComplaintListScreen> {
physics:
const
ClampingScrollPhysics
(),
slivers:
<
Widget
>[
SliverAppBar
(
leading:
Container
()
,
automaticallyImplyLeading:
false
,
stretch:
_stretch
,
backgroundColor:
const
Color
(
0xFF4076FF
),
onStretchTrigger:
()
async
{
...
...
@@ -221,7 +221,7 @@ class _ComplaintListScreenState extends State<ComplaintListScreen> {
StretchMode
.
blurBackground
,
],
background:
Container
(
decoration:
const
BoxDecoration
(
color
:
AppColors
.
primary
),
decoration:
const
BoxDecoration
(
gradient
:
AppColors
.
commonAppBarGradient
),
child:
Padding
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
...
...
@@ -259,7 +259,7 @@ class _ComplaintListScreenState extends State<ComplaintListScreen> {
SliverToBoxAdapter
(
child:
Container
(
padding:
const
EdgeInsets
.
only
(
top:
1
),
color:
AppColors
.
primary
,
color:
AppColors
.
backgroundBottom
,
child:
Container
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
...
...
lib/Screens/HelpAndComplaintScreens/SelectOrderHelpScreen.dart
View file @
6f73c3f4
...
...
@@ -387,49 +387,76 @@ class _SelectOrderHelpScreenState extends State<SelectOrderHelpScreen> {
/// AMC & Warranty tags
Row
(
mainAxisAlignment:
MainAxisAlignment
.
s
paceBetween
,
mainAxisAlignment:
MainAxisAlignment
.
s
tart
,
children:
[
// Status Badge with checkmark for AMC Protected
if
(
amc
==
"1"
||
amc
==
"2"
)
Container
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
8
,
horizontal:
5
,
vertical:
4
,
),
decoration:
BoxDecoration
(
gradient:
amc
==
"1"
?
AppColors
.
greenStripGradient
:
AppColors
.
fadeGradient
,
amc
==
"1"
?
AppColors
.
greenStripGradient
:
AppColors
.
fadeGradient
,
borderRadius:
BorderRadius
.
circular
(
12
),
),
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
children:
[
SvgPicture
.
asset
(
"assets/svg/tick_ic.svg"
,
height:
14
,
color:
Row
(
children:
[
SvgPicture
.
asset
(
"assets/svg/tick_ic.svg"
,
height:
14
,
color:
amc
==
"1"
?
AppColors
.
greenICBg
:
AppColors
.
subtitleText
,
),
const
SizedBox
(
width:
4
),
Text
(
"AMC
Protected
"
,
style:
TextStyle
(
fontSize:
11
,
fontFamily:
"PoppinsBold"
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
FontWeight
.
w700
,
color:
),
const
SizedBox
(
width:
2
),
Text
(
"AMC "
,
style:
TextStyle
(
fontSize:
11
,
fontFamily:
"PoppinsBold"
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
FontWeight
.
w700
,
color:
amc
==
"1"
?
AppColors
.
greenICBg
:
AppColors
.
subtitleText
,
),
),
),
Text
(
"Protected"
,
style:
TextStyle
(
fontSize:
11
,
fontFamily:
"PoppinsBold"
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
FontWeight
.
w700
,
color:
amc
==
"1"
?
AppColors
.
normalText
:
AppColors
.
subtitleText
,
),
),
SizedBox
(
width:
4
),
if
(
amc
==
"2"
)
const
Icon
(
Icons
.
info_outline
,
color:
Colors
.
red
,
size:
12
,
),
],
),
],
),
),
if
(
amc
==
"1"
||
amc
==
"2"
)
SizedBox
(
width:
16
),
// for warranty
if
(
warranty
==
"1"
||
warranty
==
"2"
)
Container
(
padding:
const
EdgeInsets
.
symmetric
(
...
...
@@ -438,35 +465,44 @@ class _SelectOrderHelpScreenState extends State<SelectOrderHelpScreen> {
),
decoration:
BoxDecoration
(
gradient:
warranty
==
"1"
?
AppColors
.
yellowStripGradient
:
AppColors
.
fadeGradient
,
warranty
==
"1"
?
AppColors
.
yellowStripGradient
:
AppColors
.
fadeGradient
,
borderRadius:
BorderRadius
.
circular
(
12
),
),
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
children:
[
SvgPicture
.
asset
(
"assets/svg/tick2_ic.svg"
,
height:
14
,
color:
Row
(
children:
[
SvgPicture
.
asset
(
height:
14
,
warranty
==
"1"
?
AppColors
.
warning
:
AppColors
.
subtitleText
,
),
const
SizedBox
(
width:
4
),
Text
(
"Warranty"
,
style:
TextStyle
(
fontSize:
11
,
fontFamily:
"PoppinsBold"
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
FontWeight
.
w700
,
color:
?
"assets/svg/tick2_ic.svg"
:
"assets/svg/tick3_ic.svg"
,
),
const
SizedBox
(
width:
2
),
Text
(
"Warranty"
,
style:
TextStyle
(
fontSize:
11
,
fontFamily:
"PoppinsBold"
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
FontWeight
.
w700
,
color:
warranty
==
"1"
?
AppColors
.
normalText
:
AppColors
.
subtitleText
,
),
),
),
SizedBox
(
width:
4
),
if
(
warranty
==
"2"
)
const
Icon
(
Icons
.
info_outline
,
color:
Colors
.
red
,
size:
12
,
),
],
),
],
),
...
...
lib/Screens/HomeScreen.dart
View file @
6f73c3f4
This diff is collapsed.
Click to expand it.
lib/Screens/SplashScreen.dart
View file @
6f73c3f4
...
...
@@ -399,7 +399,7 @@ class _SplashScreenState extends State<SplashScreen> with SingleTickerProviderSt
child:
Column
(
children:
[
Text
(
"Gen
Services
"
,
"
My
Gen"
,
style:
TextStyle
(
fontSize:
36
,
fontWeight:
FontWeight
.
w900
,
...
...
lib/Screens/TransactionScreens/TransactionListScreen.dart
View file @
6f73c3f4
This diff is collapsed.
Click to expand it.
lib/Screens/generatorDetailsScreen.dart
View file @
6f73c3f4
This diff is collapsed.
Click to expand it.
lib/main.dart
View file @
6f73c3f4
...
...
@@ -41,7 +41,7 @@ class MyApp extends StatelessWidget {
builder:
(
context
,
themeProvider
,
child
)
{
return
MaterialApp
(
debugShowCheckedModeBanner:
false
,
title:
'Gen
Services
'
,
title:
'
My
Gen'
,
theme:
ThemeData
(
fontFamily:
'Poppins'
,
),
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment