|
|
|
|
@ -125,10 +125,15 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).youHave,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
2.2),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier *
|
|
|
|
|
2.2
|
|
|
|
|
: SizeConfig.textMultiplier *
|
|
|
|
|
1.3,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'5',
|
|
|
|
|
@ -136,16 +141,21 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
4.0),
|
|
|
|
|
3.0),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.undeliveredPackages,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
2.2),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier *
|
|
|
|
|
2.2
|
|
|
|
|
: SizeConfig.textMultiplier *
|
|
|
|
|
1.3,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -154,8 +164,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(right: 9.5),
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 110,
|
|
|
|
|
height: 110,
|
|
|
|
|
width: 100,
|
|
|
|
|
height: 100,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white10,
|
|
|
|
|
shape: BoxShape.circle),
|
|
|
|
|
@ -171,7 +181,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
? MediaQuery.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.height *
|
|
|
|
|
0.10
|
|
|
|
|
0.09
|
|
|
|
|
: MediaQuery.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.height *
|
|
|
|
|
@ -225,27 +235,37 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).youHave,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
2.2),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier *
|
|
|
|
|
2.2
|
|
|
|
|
: SizeConfig.textMultiplier *
|
|
|
|
|
1.3,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'25',
|
|
|
|
|
'5',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
4.0),
|
|
|
|
|
3.0),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.deliveredPackages,
|
|
|
|
|
.undeliveredPackages,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier *
|
|
|
|
|
2.2),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier *
|
|
|
|
|
2.2
|
|
|
|
|
: SizeConfig.textMultiplier *
|
|
|
|
|
1.3,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -254,8 +274,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(right: 9.5),
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 110,
|
|
|
|
|
height: 110,
|
|
|
|
|
width: 100,
|
|
|
|
|
height: 100,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white10,
|
|
|
|
|
shape: BoxShape.circle),
|
|
|
|
|
@ -271,7 +291,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
? MediaQuery.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.height *
|
|
|
|
|
0.10
|
|
|
|
|
0.09
|
|
|
|
|
: MediaQuery.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.height *
|
|
|
|
|
@ -352,8 +372,11 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: Text(
|
|
|
|
|
TranslationBase.of(context).scan,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier * 6.0,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier * 6.0
|
|
|
|
|
: SizeConfig.textMultiplier * 4.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
|
),
|
|
|
|
|
@ -366,8 +389,11 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.toAddPackageToQue,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier * 3.0,
|
|
|
|
|
fontSize: MediaQuery.of(context)
|
|
|
|
|
.orientation ==
|
|
|
|
|
Orientation.landscape
|
|
|
|
|
? SizeConfig.textMultiplier * 3.0
|
|
|
|
|
: SizeConfig.textMultiplier * 2.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
letterSpacing: 0.2,
|
|
|
|
|
wordSpacing: 0.5,
|
|
|
|
|
|