Skip to content

Commit

Permalink
Merge pull request #232 from atharva-khewle/main
Browse files Browse the repository at this point in the history
railway ui fix
  • Loading branch information
atharva-khewle authored Jul 26, 2024
2 parents e74d6a9 + 2d0fc63 commit 4122561
Showing 1 changed file with 8 additions and 7 deletions.
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

0 comments on commit 4122561

Please sign in to comment.