add some comment

merge-requests/29/head
her_username 5 years ago
parent 3da6891230
commit e387820fe1

@ -14,7 +14,7 @@ class MyScheduleScreen extends StatelessWidget {
scheduleProvider = Provider.of(context);
return AppScaffold(
// pageOnly: false,
appBarTitle: 'My Schdule',
appBarTitle: 'My Schedule',
body: scheduleProvider.isLoading
? Center(
child: CircularProgressIndicator(),
@ -48,7 +48,7 @@ class MyScheduleScreen extends StatelessWidget {
),
Text('My Schedule',
style: textStyle(2.5, FontWeight.w700)),
scheduleListByDate('Today, 7 April '),
scheduleListByDate(),
// scheduleListByDate('Wednesday, 8 April '),
],
),
@ -60,14 +60,13 @@ class MyScheduleScreen extends StatelessWidget {
);
}
Column scheduleListByDate(date) {
Column scheduleListByDate() {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
SizedBox(
height: 10,
),
// Text(date, style: textStyle(2.5)),
Container(
child: Column(
children: scheduleProvider.listDoctorWorkingHoursTable.map((item) {

@ -73,6 +73,13 @@ class Helpers {
toastMsg.showErrorToast(localMsg);
}
/*
*@author: Mohammad Aljammal
*@Date:27/4/2020
*@param:
*@return: Boolean
*@desc: Check The Internet Connection
*/
static Future<bool> checkConnection() async {
ConnectivityResult connectivityResult =
await (Connectivity().checkConnectivity());

@ -3,6 +3,14 @@ import 'package:doctor_app_flutter/widgets/shared/rounded_container_widget.dart'
import 'package:flutter/material.dart';
import 'package:hexcolor/hexcolor.dart';
/*
*@author: Mohammad Aljammal
*@Date:27/4/2020
*@param: line1Text, line2Text, heightPercentage, widthPercentage
*@return:
*@desc: Card Dr Schedule
*/
class CardWithBgWidget extends StatelessWidget {
String line1Text;
String line2Text;
@ -57,7 +65,6 @@ class CardWithBgWidget extends StatelessWidget {
),
),
elevation: 0,
// raduis: 0,
showBorder: true,
borderColor: Hexcolor('#707070'),
customCornerRaduis: true,

Loading…
Cancel
Save