|
|
|
|
@ -9,6 +9,7 @@ import 'package:hmg_patient_app_new/features/qr_parking/models/qr_parking_respon
|
|
|
|
|
import '../../features/qr_parking/qr_parking_view_model.dart';
|
|
|
|
|
import '../../theme/colors.dart';
|
|
|
|
|
import '../../widgets/appbar/app_bar_widget.dart';
|
|
|
|
|
import '../../widgets/buttons/custom_button.dart';
|
|
|
|
|
import '../../widgets/chip/app_custom_chip_widget.dart';
|
|
|
|
|
import 'package:maps_launcher/maps_launcher.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
@ -184,23 +185,34 @@ class _ParkingSlotState extends State<ParkingSlot> {
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 48.h,
|
|
|
|
|
child: ElevatedButton(
|
|
|
|
|
style: ElevatedButton.styleFrom(
|
|
|
|
|
backgroundColor: AppColors.primaryRedColor,
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
child:CustomButton(
|
|
|
|
|
text: "Get Direction".needTranslation,
|
|
|
|
|
onPressed: _openDirection,
|
|
|
|
|
child: Text(
|
|
|
|
|
"Get Direction".needTranslation,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
backgroundColor: AppColors.primaryRedColor,
|
|
|
|
|
borderColor: AppColors.primaryRedColor,
|
|
|
|
|
textColor: AppColors.whiteColor,
|
|
|
|
|
fontSize: 18,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: AppColors.whiteColor,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
borderRadius: 10,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// ElevatedButton(
|
|
|
|
|
// style: ElevatedButton.styleFrom(
|
|
|
|
|
// backgroundColor: AppColors.primaryRedColor,
|
|
|
|
|
// shape: RoundedRectangleBorder(
|
|
|
|
|
// borderRadius: BorderRadius.circular(10),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// onPressed: _openDirection,
|
|
|
|
|
// child: Text(
|
|
|
|
|
// "Get Direction".needTranslation,
|
|
|
|
|
// style: TextStyle(
|
|
|
|
|
// fontSize: 18,
|
|
|
|
|
// fontWeight: FontWeight.bold,
|
|
|
|
|
// color: AppColors.whiteColor,
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
// const Spacer(),
|
|
|
|
|
|