|
|
|
|
@ -152,14 +152,14 @@ class _LandPageState extends State<LandPage> {
|
|
|
|
|
mainAxisSpacing: 12,
|
|
|
|
|
childAspectRatio: 1,
|
|
|
|
|
children: [
|
|
|
|
|
// if (_userProvider.user != null && _userProvider.user.type == UsersTypes.normal_user)
|
|
|
|
|
LandPageItem(
|
|
|
|
|
text: _subtitle.newServiceRequest,
|
|
|
|
|
icon: FontAwesomeIcons.tools,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).pushNamed(CreateRequestPage.id);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
if (_userProvider.user != null && _userProvider.user.type == UsersTypes.normal_user)
|
|
|
|
|
LandPageItem(
|
|
|
|
|
text: _subtitle.newServiceRequest,
|
|
|
|
|
icon: FontAwesomeIcons.tools,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).pushNamed(CreateRequestPage.id);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
LandPageItem(
|
|
|
|
|
text: _subtitle.trackServiceRequest,
|
|
|
|
|
icon: FontAwesomeIcons.tasks,
|
|
|
|
|
|