|
|
|
|
@ -137,7 +137,7 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments>
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(5.0),
|
|
|
|
|
side: BorderSide(
|
|
|
|
|
color: Colors.blue[400], //Color of the border
|
|
|
|
|
color: Color(0xff76cfb7), //Color of the border
|
|
|
|
|
style: BorderStyle.solid, //Style of the border
|
|
|
|
|
width: 1.5, //width of the border
|
|
|
|
|
),
|
|
|
|
|
@ -209,8 +209,8 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments>
|
|
|
|
|
color: _calendarController.isSelected(date)
|
|
|
|
|
? Colors.green[400]
|
|
|
|
|
: _calendarController.isToday(date)
|
|
|
|
|
? Colors.brown[300]
|
|
|
|
|
: Colors.blue[400],
|
|
|
|
|
? Colors.transparent
|
|
|
|
|
: Color(0xff76cfb7),
|
|
|
|
|
),
|
|
|
|
|
width: 40.0,
|
|
|
|
|
height: 40.0,
|
|
|
|
|
@ -321,7 +321,7 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments>
|
|
|
|
|
|
|
|
|
|
Widget getSelectedButton(int index) {
|
|
|
|
|
return RaisedButton(
|
|
|
|
|
color: Colors.blue[400],
|
|
|
|
|
color: Color(0xff76cfb7), //Color of the border
|
|
|
|
|
textColor: Colors.white,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
@ -399,10 +399,10 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments>
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
|
color: _calendarController.isSelected(date)
|
|
|
|
|
? Colors.green[400]
|
|
|
|
|
? Color(0xffB8382C)
|
|
|
|
|
: _calendarController.isToday(date)
|
|
|
|
|
? Colors.brown[300]
|
|
|
|
|
: Colors.blue[400],
|
|
|
|
|
: Color(0xff76cfb7),
|
|
|
|
|
),
|
|
|
|
|
width: 40.0,
|
|
|
|
|
height: 40.0,
|
|
|
|
|
|