|
|
|
|
@ -76,8 +76,9 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: Text(
|
|
|
|
|
_authenticationViewModel.user.userName,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
|
fontSize: 25.0),
|
|
|
|
|
fontSize: 22.0,
|
|
|
|
|
color: Hexcolor("#343333"),
|
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -465,12 +466,11 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).nearestDropOffs,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 21.0,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
TranslationBase.of(context).nearestDropOffs,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.0,
|
|
|
|
|
color: Hexcolor("#343333"),
|
|
|
|
|
fontWeight: FontWeight.bold)),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
if (model.state == ViewState.Idle)
|
|
|
|
|
@ -515,7 +515,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
: model.orders.length < 3 ? model.orders.length : 3,
|
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
|
return Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 12.2),
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 0.2),
|
|
|
|
|
child: InkWell(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: RoundedContainer(
|
|
|
|
|
@ -626,7 +626,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.all(8.0),
|
|
|
|
|
child: CircleContainer(
|
|
|
|
|
borderWidth: 0.9,
|
|
|
|
|
borderWidth: 1.5,
|
|
|
|
|
child: Text(
|
|
|
|
|
model.orders[index].distanceInKilometers
|
|
|
|
|
.toString() +
|
|
|
|
|
|