|
|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
import 'package:diplomaticquarterapp/config/size_config.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:giffy_dialog/giffy_dialog.dart';
|
|
|
|
|
|
|
|
|
|
import '../NearestEr.dart';
|
|
|
|
|
|
|
|
|
|
@ -70,12 +71,21 @@ class CardPosition extends StatelessWidget {
|
|
|
|
|
//===Switch case===
|
|
|
|
|
print("================"+type);
|
|
|
|
|
print("================"+telephone);
|
|
|
|
|
print("================"+networkImage);
|
|
|
|
|
|
|
|
|
|
showDialog(
|
|
|
|
|
context: context,builder: (_) => AssetGiffyDialog(image:Image.network(networkImage, fit: BoxFit.cover,),
|
|
|
|
|
title: Text('Men Wearing Jackets',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 22.0, fontWeight: FontWeight.w600),
|
|
|
|
|
),
|
|
|
|
|
description: Text('This is a men wearing jackets dialog box.This library helps you easily create fancy giffy dialog.',
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
style: TextStyle(),
|
|
|
|
|
),
|
|
|
|
|
onOkButtonPressed: () {},
|
|
|
|
|
) );
|
|
|
|
|
|
|
|
|
|
// Navigator.push(
|
|
|
|
|
// context,
|
|
|
|
|
// MaterialPageRoute(
|
|
|
|
|
// builder: (context) => NearestEr(isAppbar: true,)));
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|