Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

railway ui fix #232

Merged
merged 3 commits into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions lib/new_ui/screens/railway_screen/railway_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,10 @@ class _RailwayConcessionScreenState
child: Container(
padding: EdgeInsets.symmetric(horizontal: 16.0, vertical: 10.0),
decoration: BoxDecoration(
color: Colors.red[50], // Light red background
color: Colors.redAccent, // Light red background
border: Border.all(
color: Colors.red, // Red border
width: 1.0,
// color: Colors.red.shade900, // Red border
width: 2.0,
),
borderRadius: BorderRadius.circular(8.0), // Rounded corners
),
Expand All @@ -541,12 +541,12 @@ class _RailwayConcessionScreenState
children: [
TextSpan(
text: "🚨 Reason: ",
style: TextStyle(fontWeight: FontWeight.bold,fontSize: 20.0,color: Colors.red[900], // Dark red text
style: TextStyle(fontWeight: FontWeight.bold,fontSize: 20.0,color: Colors.white, // Dark red text
),
),
TextSpan(
text: "${concessionDetails!.statusMessage}",
style: TextStyle(color: Colors.black,fontSize: 16.0,),
style: TextStyle(color: Colors.white,fontSize: 16.0,),
),
],
),
Expand Down Expand Up @@ -746,8 +746,9 @@ class _RailwayConcessionScreenState
),
),
Container(
width: size.width,
height: size.height*0.4,
constraints: BoxConstraints(
minHeight: size.height*0.4, // Set the minimum height here
),
decoration: const BoxDecoration(
color: oldDateSelectBlue,
border: Border.symmetric(vertical: BorderSide(color: Colors.white),),
Expand Down
Loading