This commit is contained in:
Hamza-Ayed
2023-10-18 19:23:04 +03:00
parent b0e842e53b
commit 5cbd03f7d8
10 changed files with 122 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ import 'package:ride/controller/home/captin/order_request_controller.dart';
import 'package:ride/main.dart';
import 'package:ride/views/widgets/circle_container.dart';
import 'package:ride/views/widgets/elevated_btn.dart';
import 'package:flutter_font_icons/flutter_font_icons.dart';
import '../../../controller/functions/location_controller.dart';
import '../../../controller/home/captin/widget/connect.dart';
@@ -104,11 +105,20 @@ class HomeCaptain extends StatelessWidget {
width: Get.width * .8,
height: 80,
child: Center(
child: Text(
'You Earn today is '.tr +
homeCaptainController
.totalToday, //Todo add here number for income
style: AppStyle.title,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Icon(
Entypo.wallet,
color: AppColor.greenColor,
),
Text(
' You Earn today is '.tr +
homeCaptainController
.totalToday, //Todo add here number for income
style: AppStyle.title,
),
],
))),
),
GetBuilder<HomeCaptainController>(
@@ -128,6 +138,35 @@ class HomeCaptain extends StatelessWidget {
// 'hi from Sefer', ['+962798583052']);
},
child: const Text('send msg')),
const Wrap(
children: <Widget>[
Icon(AntDesign.facebook_square),
Icon(AntDesign.wallet),
Icon(Entypo.wallet),
Icon(
Entypo.google__with_circle,
color: AppColor.redColor,
),
Icon(EvilIcons.camera),
Icon(Feather.activity),
Icon(
FontAwesome.whatsapp,
color: AppColor.greenColor,
),
Icon(FontAwesome5.square),
Icon(FontAwesome5Solid.address_book),
Icon(FontAwesome5Brands.$500px),
Icon(Fontisto.google_play),
Icon(Foundation.hearing_aid),
Icon(Ionicons.logo_whatsapp),
Icon(MaterialCommunityIcons.home_city),
Icon(MaterialIcons.ac_unit),
Icon(Octicons.watch),
Icon(SimpleLineIcons.wrench),
Icon(WeatherIcons.wi_day_sleet),
Icon(Zocial.github),
],
),
],
),
),