|
|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
//import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/config/size_config.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import '../NearestEr.dart';
|
|
|
|
|
@ -24,7 +26,7 @@ class CardPosition extends StatelessWidget {
|
|
|
|
|
print("=============this.type============="+this.type);
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.fromLTRB(9.0, 9.0, 9.0, 9.0),
|
|
|
|
|
margin: EdgeInsets.fromLTRB(7.0, 7.0, 7.0, 7.0),
|
|
|
|
|
decoration: BoxDecoration(boxShadow: [
|
|
|
|
|
BoxShadow(color: Colors.grey[400], blurRadius: 2.0, spreadRadius: 0.0)
|
|
|
|
|
], borderRadius: BorderRadius.circular(10), color: Colors.white),
|
|
|
|
|
@ -36,9 +38,9 @@ class CardPosition extends StatelessWidget {
|
|
|
|
|
child: Text(this.text,
|
|
|
|
|
overflow: TextOverflow.clip,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: new Color(0xFFc5272d),
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
letterSpacing: 1.0,
|
|
|
|
|
fontSize: 20.0)),
|
|
|
|
|
fontSize: 2 * SizeConfig.textMultiplier)),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
alignment: Alignment.center,
|
|
|
|
|
@ -50,7 +52,7 @@ class CardPosition extends StatelessWidget {
|
|
|
|
|
child: Text(this.subText,
|
|
|
|
|
overflow: TextOverflow.clip,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.black, letterSpacing: 1.0, fontSize: 15.0)),
|
|
|
|
|
color: Color(0xFFc5272d), letterSpacing: 1.0, fontSize: 15.0)),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
@ -68,10 +70,12 @@ class CardPosition extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => NearestEr(isAppbar: true,)));
|
|
|
|
|
|
|
|
|
|
FadePage(
|
|
|
|
|
page: NearestEr(isAppbar: true,)));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//NearestEr(isAppbar: true,)
|
|
|
|
|
// Navigator.push(
|
|
|
|
|
// context,
|
|
|
|
|
// MaterialPageRoute(
|
|
|
|
|
|