Skip to content

Commit

Permalink
Fix: widget size overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ybmin committed Oct 31, 2023
1 parent ee06671 commit cb8d98e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/views/taxiView.dart
Original file line number Diff line number Diff line change
Expand Up @@ -338,18 +338,18 @@ class TaxiView extends HookWidget {
},
key: UniqueKey(),
child: SizedBox(
height: min(MediaQuery.of(context).size.height * 0.15, 130),
height: 120,
width: MediaQuery.of(context).size.width,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
LinearTimer(
forward: false,
minHeight: 5,
minHeight: 4,
color: taxiPrimaryColor,
backgroundColor: Colors.white,
duration: const Duration(minutes: 1),
duration: const Duration(seconds: 10),
onTimerEnd: () {
removeOverlayNotification();
},
Expand Down Expand Up @@ -389,7 +389,7 @@ class TaxiView extends HookWidget {
: const Padding(padding: EdgeInsets.zero),
Padding(
padding: EdgeInsets.symmetric(
horizontal: 20 / devicePixelRatio)),
horizontal: 30 / devicePixelRatio)),
SizedBox(
width: 280,
child: Column(
Expand Down

0 comments on commit cb8d98e

Please sign in to comment.