You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
Dart
49 lines
1.6 KiB
Dart
4 years ago
|
import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/CardCommon.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class BookingOptions extends StatelessWidget {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
appBar: AppBar(title: Text("Book Appointment")),
|
||
|
body: Container(
|
||
|
margin: EdgeInsets.fromLTRB(10.0, 20.0, 10.0, 10.0),
|
||
|
child: Column(
|
||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||
|
children: <Widget>[
|
||
|
Text("Search By:",
|
||
|
style: TextStyle(
|
||
|
fontSize: 24.0,
|
||
|
letterSpacing: 1.0,
|
||
|
fontWeight: FontWeight.bold,
|
||
|
color: new Color(0xFF60686b))),
|
||
|
Container(
|
||
|
margin: EdgeInsets.fromLTRB(0.0, 10.0, 0.0, 10.0),
|
||
|
child: Row(
|
||
|
mainAxisSize: MainAxisSize.max,
|
||
|
mainAxisAlignment: MainAxisAlignment.start,
|
||
|
children: <Widget>[
|
||
|
Expanded(
|
||
|
child: CardCommon(
|
||
|
image:
|
||
|
'assets/images/new-design/search_by_clinic.png',
|
||
|
text: "Clinic",
|
||
|
subText: "Name"),
|
||
|
),
|
||
|
Expanded(
|
||
|
child: CardCommon(
|
||
|
image:
|
||
|
'assets/images/new-design/search_by_doctor.png',
|
||
|
text: "Doctor",
|
||
|
subText: "Name"),
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|