Merge branch 'replay-design' into 'development'

Replay design

See merge request Cloud_Solution/doctor_app_flutter!178
pull/182/head
Elham 5 years ago
commit bad202d03c

1
.gitignore vendored

@ -29,6 +29,7 @@
.pub-cache/ .pub-cache/
.pub/ .pub/
/build/ /build/
pubspec.lock # Except for application packages
# Web related # Web related
lib/generated_plugin_registrant.dart lib/generated_plugin_registrant.dart

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

@ -242,10 +242,15 @@ const Map<String, Map<String, String>> localizedValues = {
'ar': 'لا يوجد اي نتائج' 'ar': 'لا يوجد اي نتائج'
}, },
'typeMedicineName': {'en': 'Type Medicine Name', 'ar': 'اكتب اسم الدواء'}, 'typeMedicineName': {'en': 'Type Medicine Name', 'ar': 'اكتب اسم الدواء'},
'moreThan3Letter': { 'moreThan3Letter': {
'en': 'Medicine Name Should Be More Than 3 letter', 'en': 'Medicine Name Should Be More Than 3 letter',
'ar': 'يجب أن يكون اسم الدواء أكثر من 3 أحرف' 'ar': 'يجب أن يكون اسم الدواء أكثر من 3 أحرف'
}, },
'gender2': {'en': 'Gender: ', 'ar': 'الجنس: '}, 'gender2': {'en': 'Gender: ', 'ar': 'الجنس: '},
'age2': {'en': 'Age: ', 'ar': 'العمر: '}, 'age2': {'en': 'Age: ', 'ar': 'العمر: '},
'replySuccessfully': {
'en': 'Reply Successfully',
'ar': 'تم الرد بنجاح'
},
}; };

@ -39,7 +39,7 @@ class _LandingPageState extends State<LandingPage> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
elevation: 0, elevation: 0,
backgroundColor: Hexcolor('#515B5D'), backgroundColor: HexColor('#515B5D'),
textTheme: TextTheme( textTheme: TextTheme(
headline6: headline6:
TextStyle(color: Colors.white)), TextStyle(color: Colors.white)),

@ -60,7 +60,7 @@ class MyApp extends StatelessWidget {
theme: ThemeData( theme: ThemeData(
primarySwatch: Colors.grey, primarySwatch: Colors.grey,
primaryColor: Colors.grey, primaryColor: Colors.grey,
buttonColor: Hexcolor('#B8382C'), buttonColor: HexColor('#B8382C'),
fontFamily: 'WorkSans', fontFamily: 'WorkSans',
dividerColor: Colors.grey[350], dividerColor: Colors.grey[350],
backgroundColor: Color.fromRGBO(255,255,255, 1) backgroundColor: Color.fromRGBO(255,255,255, 1)

@ -82,7 +82,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
children: <Widget>[ children: <Widget>[
Container( Container(
height: 140, height: 140,
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
width: double.infinity, width: double.infinity,
child: FractionallySizedBox( child: FractionallySizedBox(
widthFactor: 0.9, widthFactor: 0.9,
@ -221,7 +221,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
bottom: 19, bottom: 19,
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor("#DED8CF"), color: HexColor("#DED8CF"),
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(10.0), Radius.circular(10.0),
), ),
@ -249,20 +249,20 @@ class _DashboardScreenState extends State<DashboardScreen> {
AppText("38", AppText("38",
fontSize: fontSize:
SizeConfig.textMultiplier * 3.7, SizeConfig.textMultiplier * 3.7,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
fontWeight: FontWeight.bold,), fontWeight: FontWeight.bold,),
AppText(TranslationBase AppText(TranslationBase
.of(context) .of(context)
.outPatients, .outPatients,
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
fontSize: SizeConfig.textMultiplier * 1.4, fontSize: SizeConfig.textMultiplier * 1.4,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
], ],
), ),
circularStrokeCap: CircularStrokeCap.butt, circularStrokeCap: CircularStrokeCap.butt,
backgroundColor: Colors.blueGrey[100], backgroundColor: Colors.blueGrey[100],
progressColor: Hexcolor('#B8382C'), progressColor: HexColor('#B8382C'),
), ),
), ),
Container( Container(
@ -276,7 +276,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
border: TableBorder.symmetric( border: TableBorder.symmetric(
inside: BorderSide( inside: BorderSide(
width: 0.5, width: 0.5,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
), ),
children: [ children: [
@ -290,13 +290,13 @@ class _DashboardScreenState extends State<DashboardScreen> {
TranslationBase.of(context).arrived, TranslationBase.of(context).arrived,
fontSize: fontSize:
SizeConfig.textMultiplier * 1.5, SizeConfig.textMultiplier * 1.5,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
AppText( AppText(
"23", "23",
fontSize: fontSize:
SizeConfig.textMultiplier * 2.7, SizeConfig.textMultiplier * 2.7,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
SizedBox( SizedBox(
@ -312,13 +312,13 @@ class _DashboardScreenState extends State<DashboardScreen> {
TranslationBase.of(context).er, TranslationBase.of(context).er,
fontSize: fontSize:
SizeConfig.textMultiplier * 1.5, SizeConfig.textMultiplier * 1.5,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
AppText( AppText(
"03", "03",
fontSize: fontSize:
SizeConfig.textMultiplier * 2.7, SizeConfig.textMultiplier * 2.7,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
SizedBox( SizedBox(
@ -341,13 +341,13 @@ class _DashboardScreenState extends State<DashboardScreen> {
TranslationBase.of(context).notArrived, TranslationBase.of(context).notArrived,
fontSize: fontSize:
SizeConfig.textMultiplier * 1.5, SizeConfig.textMultiplier * 1.5,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
AppText( AppText(
"15", "15",
fontSize: fontSize:
SizeConfig.textMultiplier * 2.7, SizeConfig.textMultiplier * 2.7,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
], ],
@ -363,13 +363,13 @@ class _DashboardScreenState extends State<DashboardScreen> {
TranslationBase.of(context).walkIn, TranslationBase.of(context).walkIn,
fontSize: fontSize:
SizeConfig.textMultiplier * 1.5, SizeConfig.textMultiplier * 1.5,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
), ),
AppText( AppText(
"04", "04",
fontSize: fontSize:
SizeConfig.textMultiplier * 2.7, SizeConfig.textMultiplier * 2.7,
color: Hexcolor('#5D4C35'), color: HexColor('#5D4C35'),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
], ],
@ -553,7 +553,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
), ),
), ),
imageName: '4.png', imageName: '4.png',
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
hasBorder: false, hasBorder: false,
width: MediaQuery width: MediaQuery
.of(context) .of(context)
@ -607,7 +607,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
), ),
), ),
imageName: '5.png', imageName: '5.png',
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
hasBorder: false, hasBorder: false,
width: MediaQuery width: MediaQuery
.of(context) .of(context)
@ -1011,7 +1011,7 @@ class DashboardItem extends StatelessWidget {
.height * 0.35, .height * 0.35,
decoration: BoxDecoration( decoration: BoxDecoration(
color: !hasBorder ? color != null ? color : Hexcolor('#050705') color: !hasBorder ? color != null ? color : HexColor('#050705')
.withOpacity(opacity) : Colors .withOpacity(opacity) : Colors
.white, .white,
borderRadius: BorderRadius.circular(6.0), borderRadius: BorderRadius.circular(6.0),

@ -7,8 +7,14 @@ import 'package:flutter/material.dart';
import '../../widgets/shared/app_scaffold_widget.dart'; import '../../widgets/shared/app_scaffold_widget.dart';
class MyReferralPatient extends StatelessWidget { class MyReferralPatient extends StatefulWidget {
int expandedItemIndex = -1;
@override
_MyReferralPatientState createState() => _MyReferralPatientState();
}
class _MyReferralPatientState extends State<MyReferralPatient> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BaseView<ReferralPatientViewModel>( return BaseView<ReferralPatientViewModel>(
@ -35,12 +41,28 @@ class MyReferralPatient extends StatelessWidget {
), ),
Container( Container(
child: Column( child: Column(
children: model.listMyReferralPatientModel children: [
.map((item) { ...List.generate(
return MyReferralPatientWidget( model.listMyReferralPatientModel.length,
myReferralPatientModel: item, model:model (index) => MyReferralPatientWidget(
); myReferralPatientModel: model
}).toList(), .listMyReferralPatientModel[index],
model: model,
expandClick: () {
setState(() {
if (widget.expandedItemIndex ==
index) {
widget.expandedItemIndex = -1;
} else {
widget.expandedItemIndex = index;
}
});
},
isExpand:
widget.expandedItemIndex == index,
),
)
],
), ),
), ),
], ],

@ -176,7 +176,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
side: BorderSide( side: BorderSide(
width: 1.0, width: 1.0,
style: BorderStyle.solid, style: BorderStyle.solid,
color: Hexcolor("#CCCCCC")), color: HexColor("#CCCCCC")),
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
), ),
@ -255,7 +255,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: labelText:
@ -285,7 +285,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: labelText:
@ -315,7 +315,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: TranslationBase.of(context).lastName, labelText: TranslationBase.of(context).lastName,
@ -340,7 +340,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: labelText:
@ -370,7 +370,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: labelText:
@ -397,7 +397,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, color: Hexcolor("#CCCCCC"))), width: 1.0, color: HexColor("#CCCCCC"))),
padding: EdgeInsets.only(top: 5), padding: EdgeInsets.only(top: 5),
child: AppTextFormField( child: AppTextFormField(
labelText: labelText:
@ -423,7 +423,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
side: BorderSide( side: BorderSide(
width: 1.0, width: 1.0,
style: BorderStyle.solid, style: BorderStyle.solid,
color: Hexcolor("#CCCCCC")), color: HexColor("#CCCCCC")),
borderRadius: borderRadius:
BorderRadius.all(Radius.circular(6.0)), BorderRadius.all(Radius.circular(6.0)),
), ),
@ -505,12 +505,12 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
Radius.circular(6.0)), Radius.circular(6.0)),
border: Border.all( border: Border.all(
width: 1.0, width: 1.0,
color: Hexcolor("#CCCCCC"))), color: HexColor("#CCCCCC"))),
height: 25, height: 25,
width: 25, width: 25,
child: Checkbox( child: Checkbox(
value: true, value: true,
checkColor: Hexcolor("#2A930A"), checkColor: HexColor("#2A930A"),
activeColor: Colors.white, activeColor: Colors.white,
onChanged: (bool newValue) {}), onChanged: (bool newValue) {}),
), ),

@ -529,6 +529,21 @@ class _PatientsScreenState extends State<PatientsScreen> {
? Row( ? Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Container(
height: 15,
width: 60,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25),
color: HexColor("#20A169"),
),
child: AppText(
item.startTime,
color: Colors.white,
fontSize: 1.5 * SizeConfig.textMultiplier,
textAlign: TextAlign.center,
fontWeight: FontWeight.bold,
),
),
SizedBox( SizedBox(
width: 3.5, width: 3.5,
), ),
@ -611,6 +626,21 @@ class _PatientsScreenState extends State<PatientsScreen> {
? Row( ? Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Container(
height: 15,
width: 60,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25),
color: HexColor("#20A169"),
),
child: AppText(
item.startTime,
color: Colors.white,
fontSize: 1.5 * SizeConfig.textMultiplier,
textAlign: TextAlign.center,
fontWeight: FontWeight.bold,
),
),
SizedBox( SizedBox(
width: 3.5, width: 3.5,
), ),
@ -676,7 +706,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
hintStyle: TextStyle(fontSize: 1.66 * SizeConfig.textMultiplier), hintStyle: TextStyle(fontSize: 1.66 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
@ -716,7 +746,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
topLeft: Radius.circular(9.5), topLeft: Radius.circular(9.5),
bottomLeft: Radius.circular(9.5)), bottomLeft: Radius.circular(9.5)),
color: color:
_isActive ? Hexcolor("#B8382B") : Colors.white, _isActive ? HexColor("#B8382B") : Colors.white,
), ),
child: Center( child: Center(
child: Text( child: Text(

@ -447,7 +447,7 @@ class _InsuranceApprovalsState extends State<InsuranceApprovalsScreen> {
hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier), hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10)), borderRadius: BorderRadius.all(Radius.circular(10)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),

@ -174,7 +174,7 @@ class _PatientsOrdersState extends State<PatientsOrdersScreen> {
hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier), hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)), borderRadius: BorderRadius.all(Radius.circular(20)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(50.0)), borderRadius: BorderRadius.all(Radius.circular(50.0)),

@ -174,7 +174,7 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier), hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10)), borderRadius: BorderRadius.all(Radius.circular(10)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),

@ -428,7 +428,7 @@ class _ReferPatientState extends State<ReferPatientScreen> {
width: 90, width: 90,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(50), borderRadius: BorderRadius.circular(50),
color: _isActive ? Hexcolor("#B8382B") : Colors.white, color: _isActive ? HexColor("#B8382B") : Colors.white,
), ),
child: Center( child: Center(
child: Text( child: Text(

@ -48,7 +48,7 @@ class VitalSignItem extends StatelessWidget {
des, des,
style: TextStyle( style: TextStyle(
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
fontWeight: FontWeight.bold), fontWeight: FontWeight.bold),
), ),
), ),
@ -71,7 +71,7 @@ class VitalSignItem extends StatelessWidget {
new TextSpan( new TextSpan(
text: ' ${unit}', text: ' ${unit}',
style: TextStyle( style: TextStyle(
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
), ),
), ),
], ],

@ -34,7 +34,7 @@ class SettingsScreen extends StatelessWidget {
child: AnimatedContainer( child: AnimatedContainer(
duration: Duration(milliseconds: 350), duration: Duration(milliseconds: 350),
decoration: BoxDecoration( decoration: BoxDecoration(
color: !projectsProvider.isArabic ? Hexcolor('#58434F') : Colors.transparent, color: !projectsProvider.isArabic ? HexColor('#58434F') : Colors.transparent,
border: Border(right: BorderSide(color: Colors.grey[200], width: 2.0)) border: Border(right: BorderSide(color: Colors.grey[200], width: 2.0))
), ),
child: Center(child: AppText(TranslationBase.of(context).lanEnglish, color: !projectsProvider.isArabic ? Colors.white : Colors.grey[500])) child: Center(child: AppText(TranslationBase.of(context).lanEnglish, color: !projectsProvider.isArabic ? Colors.white : Colors.grey[500]))
@ -47,7 +47,7 @@ class SettingsScreen extends StatelessWidget {
child: AnimatedContainer( child: AnimatedContainer(
duration: Duration(milliseconds: 350), duration: Duration(milliseconds: 350),
decoration: BoxDecoration( decoration: BoxDecoration(
color: projectsProvider.isArabic ? Hexcolor('#58434F') : Colors.transparent, color: projectsProvider.isArabic ? HexColor('#58434F') : Colors.transparent,
border: Border(right: BorderSide(color: Colors.grey[200], width: 2.0)) border: Border(right: BorderSide(color: Colors.grey[200], width: 2.0))
), ),
child: Center(child: AppText(TranslationBase.of(context).lanArabic, color: projectsProvider.isArabic ? Colors.white : Colors.grey[500],)) child: Center(child: AppText(TranslationBase.of(context).lanArabic, color: projectsProvider.isArabic ? Colors.white : Colors.grey[500],))

@ -33,6 +33,8 @@ class TranslationBase {
String get mobileNo => localizedValues['mobileNo'][locale.languageCode]; String get mobileNo => localizedValues['mobileNo'][locale.languageCode];
String get replySuccessfully => localizedValues['replySuccessfully'][locale.languageCode];
String get messagesScreenToolbarTitle => String get messagesScreenToolbarTitle =>
localizedValues['messagesScreenToolbarTitle'][locale.languageCode]; localizedValues['messagesScreenToolbarTitle'][locale.languageCode];

@ -108,7 +108,7 @@ class AuthHeader extends StatelessWidget {
Text( Text(
text2, text2,
style: TextStyle( style: TextStyle(
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
fontSize: textFontSize, fontSize: textFontSize,
fontWeight: FontWeight.w800), fontWeight: FontWeight.w800),
) )
@ -156,7 +156,7 @@ class AuthHeader extends StatelessWidget {
fontSize: fontSize:
SizeConfig.isMobile ? 26 : SizeConfig.realScreenWidth * 0.030, SizeConfig.isMobile ? 26 : SizeConfig.realScreenWidth * 0.030,
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
color: Hexcolor('#B8382C')), color: HexColor('#B8382C')),
), ),
); );
} }
@ -172,7 +172,7 @@ class AuthHeader extends StatelessWidget {
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
fontSize: SizeConfig.isMobile ? 24 : SizeConfig.realScreenWidth * 0.029, fontSize: SizeConfig.isMobile ? 24 : SizeConfig.realScreenWidth * 0.029,
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
), ),
); );
} }

@ -30,7 +30,7 @@ class ChangePassword extends StatelessWidget {
TextStyle(fontSize: 2 * SizeConfig.textMultiplier), TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)), borderRadius: BorderRadius.all(Radius.circular(20)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
@ -69,7 +69,7 @@ class ChangePassword extends StatelessWidget {
TextStyle(fontSize: 2 * SizeConfig.textMultiplier), TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)), borderRadius: BorderRadius.all(Radius.circular(20)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
@ -98,7 +98,7 @@ class ChangePassword extends StatelessWidget {
TextStyle(fontSize: 2 * SizeConfig.textMultiplier), TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)), borderRadius: BorderRadius.all(Radius.circular(20)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
@ -137,7 +137,7 @@ class ChangePassword extends StatelessWidget {
), ),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
side: BorderSide(width: 0.5, color: Hexcolor('#CCCCCC'))), side: BorderSide(width: 0.5, color: HexColor('#CCCCCC'))),
), ),
SizedBox( SizedBox(
height: 10, height: 10,

@ -97,7 +97,7 @@ class _KnownUserLoginState extends State<KnownUserLogin> {
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all( border: Border.all(
color: Hexcolor('#CCCCCC'), color: HexColor('#CCCCCC'),
), ),
borderRadius: BorderRadius.circular(50)), borderRadius: BorderRadius.circular(50)),
margin: const EdgeInsets.fromLTRB(0, 20.0, 30, 0), margin: const EdgeInsets.fromLTRB(0, 20.0, 30, 0),
@ -111,7 +111,7 @@ class _KnownUserLoginState extends State<KnownUserLogin> {
// color: Colors.green, // border color // color: Colors.green, // border color
shape: BoxShape.circle, shape: BoxShape.circle,
border: border:
Border.all(color: Hexcolor('#CCCCCC'))), Border.all(color: HexColor('#CCCCCC'))),
child: CircleAvatar( child: CircleAvatar(
child: Image.asset( child: Image.asset(
'assets/images/dr_avatar.png', 'assets/images/dr_avatar.png',
@ -129,7 +129,7 @@ class _KnownUserLoginState extends State<KnownUserLogin> {
_loggedUser['List_MemberInformation'][0] _loggedUser['List_MemberInformation'][0]
['MemberName'], ['MemberName'],
style: TextStyle( style: TextStyle(
color: Hexcolor('515A5D'), color: HexColor('515A5D'),
fontSize: fontSize:
2.5 * SizeConfig.textMultiplier, 2.5 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w800), fontWeight: FontWeight.w800),
@ -137,7 +137,7 @@ class _KnownUserLoginState extends State<KnownUserLogin> {
Text( Text(
'ENT Spec', 'ENT Spec',
style: TextStyle( style: TextStyle(
color: Hexcolor('515A5D'), color: HexColor('515A5D'),
fontSize: fontSize:
1.5 * SizeConfig.textMultiplier), 1.5 * SizeConfig.textMultiplier),
) )
@ -203,7 +203,7 @@ class _KnownUserLoginState extends State<KnownUserLogin> {
), ),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
side: BorderSide(width: 0.5, color: Hexcolor('#CCCCCC'))), side: BorderSide(width: 0.5, color: HexColor('#CCCCCC'))),
), ),
SizedBox( SizedBox(
height: 10, height: 10,

@ -159,7 +159,7 @@ class _LoginFormState extends State<LoginForm> {
padding: const EdgeInsets.all(0.0), padding: const EdgeInsets.all(0.0),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
side: BorderSide(width: 0.5, color: Hexcolor('#CCCCCC'))), side: BorderSide(width: 0.5, color: HexColor('#CCCCCC'))),
child: Container( child: Container(
padding: const EdgeInsets.all(10.0), padding: const EdgeInsets.all(10.0),
height: 50, height: 50,
@ -199,7 +199,7 @@ class _LoginFormState extends State<LoginForm> {
hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier), hintStyle: TextStyle(fontSize: 2 * SizeConfig.textMultiplier),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)), borderRadius: BorderRadius.all(Radius.circular(20)),
borderSide: BorderSide(color: Hexcolor('#CCCCCC')), borderSide: BorderSide(color: HexColor('#CCCCCC')),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),

@ -78,7 +78,7 @@ class _ShowTimerTextState extends State<ShowTimerText> {
timerText, timerText,
style: TextStyle( style: TextStyle(
fontSize: 3.0 * SizeConfig.textMultiplier, fontSize: 3.0 * SizeConfig.textMultiplier,
color: Hexcolor('#B8382C'), color: HexColor('#B8382C'),
fontWeight: FontWeight.bold), fontWeight: FontWeight.bold),
), ),
), ),

@ -227,7 +227,7 @@ class _VerifyAccountState extends State<VerifyAccount> {
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
side: BorderSide( side: BorderSide(
width: 0.5, width: 0.5,
color: Hexcolor('#CCCCCC'))), color: HexColor('#CCCCCC'))),
), ),
buildSizedBox(20), buildSizedBox(20),
ShowTimerText(model: model), ShowTimerText(model: model),

@ -222,7 +222,7 @@ class _VerificationMethodsState extends State<VerificationMethods> {
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all( border: Border.all(
width: 1, width: 1,
color: Hexcolor( color: HexColor(
'#CCCCCC') // <--- border width here '#CCCCCC') // <--- border width here
), ),
borderRadius: BorderRadius.all(Radius.circular(10))), borderRadius: BorderRadius.all(Radius.circular(10))),

@ -28,7 +28,7 @@ class _DoctorReplyWidgetState extends State<DoctorReplyWidget> {
margin: EdgeInsets.symmetric(vertical: 10.0), margin: EdgeInsets.symmetric(vertical: 10.0),
width: double.infinity, width: double.infinity,
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#FFFFFF'), color: HexColor('#FFFFFF'),
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(20.0), Radius.circular(20.0),
), ),

@ -81,7 +81,7 @@ class _LabResultWidgetState extends State<LabResultWidget> {
Expanded( Expanded(
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topLeft: Radius.circular(10.0), topLeft: Radius.circular(10.0),
), ),
@ -98,7 +98,7 @@ class _LabResultWidgetState extends State<LabResultWidget> {
), ),
Expanded( Expanded(
child: Container( child: Container(
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
child: Center( child: Center(
child: Texts( child: Texts(
TranslationBase.of(context).value, TranslationBase.of(context).value,
@ -109,7 +109,7 @@ class _LabResultWidgetState extends State<LabResultWidget> {
Expanded( Expanded(
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topRight: Radius.circular(10.0), topRight: Radius.circular(10.0),
), ),

@ -10,13 +10,18 @@ import 'package:doctor_app_flutter/widgets/shared/TextFields.dart';
import 'package:doctor_app_flutter/widgets/shared/app_button.dart'; import 'package:doctor_app_flutter/widgets/shared/app_button.dart';
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/expandable-widget-header-body.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
class MyReferralPatientWidget extends StatefulWidget { class MyReferralPatientWidget extends StatefulWidget {
final MyReferralPatientModel myReferralPatientModel; final MyReferralPatientModel myReferralPatientModel;
final ReferralPatientViewModel model; final ReferralPatientViewModel model;
MyReferralPatientWidget({Key key, this.myReferralPatientModel, this.model}); final bool isExpand;
final Function expandClick;
MyReferralPatientWidget({Key key, this.myReferralPatientModel, this.model, this.isExpand, this.expandClick});
@override @override
_MyReferralPatientWidgetState createState() => _MyReferralPatientWidgetState createState() =>
@ -24,7 +29,6 @@ class MyReferralPatientWidget extends StatefulWidget {
} }
class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> { class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
bool _showDetails = false;
bool _isLoading = false; bool _isLoading = false;
final _formKey = GlobalKey<FormState>(); final _formKey = GlobalKey<FormState>();
String error; String error;
@ -39,257 +43,376 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return CardWithBgWidgetNew( return Container(
widget: Container( width: double.infinity,
margin: EdgeInsets.symmetric(horizontal: 8),
padding: EdgeInsets.only(left: 0, top: 8, right: 0, bottom: 0),
decoration: BoxDecoration(
shape: BoxShape.rectangle,
borderRadius: BorderRadius.circular(8),
border: Border.fromBorderSide(BorderSide(
color: Color(0xffCCCCCC),
width: 2,
)),
color: Color(0xffffffff),
),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
InkWell( HeaderBodyExpandableNotifier(
onTap: () { headerWidget: Column(
setState(() { children: [
_showDetails = !_showDetails; Container(
}); padding:
}, EdgeInsets.only(left: 16, top: 8, right: 8, bottom: 0),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: [
AppText( Expanded(
'${widget.myReferralPatientModel.firstName} ${widget.myReferralPatientModel.lastName}', child: Column(
fontSize: 2.5 * SizeConfig.textMultiplier, crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
color: Color(0xFFB8382C),
padding: EdgeInsets.symmetric(
vertical: 4, horizontal: 4),
child: AppText(
'${widget.myReferralPatientModel.priorityDescription}',
fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), textAlign: TextAlign.start,
Icon(_showDetails color: Colors.white,
? Icons.keyboard_arrow_up
: Icons.keyboard_arrow_down),
],
), ),
), ),
!_showDetails
? Container()
: AnimatedContainer(
duration: Duration(milliseconds: 200),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
SizedBox( SizedBox(
height: 5, height: 10,
), ),
Divider( AppText(
color: Color(0xFF000000), '${widget.myReferralPatientModel.firstName} ${widget.myReferralPatientModel.middleName} ${widget.myReferralPatientModel.lastName}',
height: 0.5, fontSize: 2 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
), ),
Table( SizedBox(
border: TableBorder.symmetric( height: 10,
inside: BorderSide(width: 0.5),
), ),
Row(
children: [ children: [
TableRow(children: [
Container(
margin: EdgeInsets.all(2.5),
padding: EdgeInsets.all(5),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
AppText( AppText(
TranslationBase.of(context).fileNo, TranslationBase.of(context).fileNo,
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
), ),
SizedBox( SizedBox(
height: 5, width: 20,
), ),
AppText( AppText(
'${widget.myReferralPatientModel.referringDoctor}', '${widget.myReferralPatientModel.referralDoctor}',
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w300, fontWeight: FontWeight.normal,
textAlign: TextAlign.start,
color: Colors.black,
),
],
),
],
),
),
Container(
margin:
EdgeInsets.symmetric(horizontal: 8, vertical: 8),
child: InkWell(
onTap: widget.expandClick,
child: Image.asset(
"assets/images/ic_circle_arrow.png",
width: 25,
height: 25,
color: Colors.black,
),
),
) )
], ],
), ),
), ),
SizedBox(
height: 10,
),
],
),
bodyWidget: Container(
child: Column(
children: [
const Divider(
color: Color(0xffCCCCCC),
height: 1,
thickness: 2,
indent: 0,
endIndent: 0,
),
Container( Container(
margin: EdgeInsets.only( height: 1.8 * SizeConfig.textMultiplier * 6,
left: 4, top: 2.5, right: 2.5, bottom: 2.5), padding:
padding: EdgeInsets.all(5), EdgeInsets.only(left: 16, top: 0, right: 8, bottom: 0),
child: Expanded(
child: Row(
children: [
Expanded(
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: [
AppText( SizedBox(
TranslationBase.of(context) height: 8,
.referralDoctor, ),
fontSize: 1.7 * SizeConfig.textMultiplier, SizedBox(
child: AppText(
TranslationBase.of(context).referralDoctor,
fontSize: 1.9 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
),
), ),
SizedBox( SizedBox(
height: 5, height: 4,
), ),
AppText( SizedBox(
widget.myReferralPatientModel child: AppText(
.referringClinicDescription, '${widget.myReferralPatientModel.referringDoctorName}',
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w300, fontWeight: FontWeight.normal,
) textAlign: TextAlign.start,
color: Colors.black,
),
),
SizedBox(
height: 8,
),
], ],
), ),
), ),
]), Padding(
TableRow(children: [ padding: const EdgeInsets.symmetric(horizontal: 8),
Container( child: SizedBox(
margin: EdgeInsets.all(2.5), child: Container(
padding: EdgeInsets.all(5), color: Color(0xffCCCCCC),
),
width: 1,
),
),
Expanded(
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: [
AppText( SizedBox(
TranslationBase.of(context) height: 8,
.referringClinic, ),
fontSize: 1.7 * SizeConfig.textMultiplier, SizedBox(
child: AppText(
TranslationBase.of(context).referringClinic,
fontSize: 1.9 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
),
), ),
SizedBox( SizedBox(
height: 5, height: 4,
), ),
AppText( SizedBox(
child: AppText(
'${widget.myReferralPatientModel.referringClinicDescription}', '${widget.myReferralPatientModel.referringClinicDescription}',
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w300, fontWeight: FontWeight.normal,
) textAlign: TextAlign.start,
color: Colors.black,
),
),
SizedBox(
height: 8,
),
],
),
),
], ],
), ),
), ),
),
const Divider(
color: Color(0xffCCCCCC),
height: 1,
thickness: 2,
indent: 0,
endIndent: 0,
),
SizedBox(
height: 10,
),
Container( Container(
margin: EdgeInsets.only( height: 1.8 * SizeConfig.textMultiplier * 6,
left: 4, top: 2.5, right: 2.5, bottom: 2.5), padding:
padding: EdgeInsets.all(5), EdgeInsets.only(left: 16, top: 0, right: 8, bottom: 0),
child: Expanded(
child: Row(
children: [
Expanded(
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: [
AppText( SizedBox(
height: 8,
),
SizedBox(
child: AppText(
TranslationBase.of(context).frequency, TranslationBase.of(context).frequency,
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.9 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
),
), ),
SizedBox( SizedBox(
height: 5, height: 4,
), ),
AppText( SizedBox(
widget.myReferralPatientModel child: AppText(
.frequencyDescription, '${widget.myReferralPatientModel.frequencyDescription}',
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w300, fontWeight: FontWeight.normal,
) textAlign: TextAlign.start,
], color: Colors.black,
), ),
)
]),
TableRow(
children: [
Container(
margin: EdgeInsets.all(2.5),
padding: EdgeInsets.all(5),
child: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
children: <Widget>[
AppText(
TranslationBase.of(context).priority,
fontSize:
1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold,
), ),
SizedBox( SizedBox(
height: 5, height: 8,
), ),
AppText(
'${widget.myReferralPatientModel.priorityDescription}',
fontSize:
1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.w300,
)
], ],
), ),
), ),
Container( Padding(
margin: EdgeInsets.only( padding: const EdgeInsets.symmetric(horizontal: 8),
left: 4, child: SizedBox(
top: 2.5, child: Container(
right: 2.5, color: Color(0xffCCCCCC),
bottom: 2.5), ),
padding: EdgeInsets.all(5), width: 1,
),
),
Expanded(
child: Column( child: Column(
crossAxisAlignment: crossAxisAlignment: CrossAxisAlignment.start,
CrossAxisAlignment.start, children: [
children: <Widget>[ SizedBox(
AppText( height: 8,
TranslationBase.of(context) ),
.maxResponseTime, SizedBox(
fontSize: child: AppText(
1.7 * SizeConfig.textMultiplier, TranslationBase.of(context).maxResponseTime,
fontSize: 1.9 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start,
color: Colors.black,
),
), ),
SizedBox( SizedBox(
height: 5, height: 4,
), ),
AppText( SizedBox(
Helpers.getDateFormatted(widget child: AppText(
.myReferralPatientModel '${DateFormat('dd/MM/yyyy').format(widget.myReferralPatientModel.mAXResponseTime)}',
.mAXResponseTime), fontSize: 1.7 * SizeConfig.textMultiplier,
fontSize: fontWeight: FontWeight.normal,
1.7 * SizeConfig.textMultiplier, textAlign: TextAlign.start,
fontWeight: FontWeight.w300, color: Colors.black,
) ),
], ),
SizedBox(
height: 8,
), ),
)
], ],
), ),
),
], ],
), ),
Divider( ),
color: Color(0xFF000000), ),
height: 0.5, const Divider(
color: Color(0xffCCCCCC),
height: 1,
thickness: 2,
indent: 0,
endIndent: 0,
), ),
SizedBox( SizedBox(
height: 5, height: 10,
), ),
Column( Container(
padding:
EdgeInsets.only(left: 16, top: 0, right: 8, bottom: 0),
child: Expanded(
child: Row(
children: [
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: [
AppText( SizedBox(
height: 8,
),
SizedBox(
child: AppText(
TranslationBase.of(context) TranslationBase.of(context)
.clinicDetailsandRemarks, .clinicDetailsandRemarks,
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.9 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
textAlign: TextAlign.start, textAlign: TextAlign.start,
color: Colors.black,
), ),
Texts(
'${widget.myReferralPatientModel.referringDoctorRemarks}',
style: "bodyText1",
readMore: true,
textAlign: TextAlign.start,
maxLength: 100)
],
), ),
SizedBox( SizedBox(
height: 5, height: 4,
), ),
AppText( SizedBox(
TranslationBase.of(context).answerSuggestions, child: AppText(
'${widget.myReferralPatientModel.referringDoctorRemarks}',
fontSize: 1.7 * SizeConfig.textMultiplier, fontSize: 1.7 * SizeConfig.textMultiplier,
fontWeight: FontWeight.bold, fontWeight: FontWeight.normal,
textAlign: TextAlign.start, textAlign: TextAlign.start,
color: Colors.black,
),
),
SizedBox(
height: 8,
),
],
),
),
],
),
),
),
const Divider(
color: Color(0xffCCCCCC),
height: 1,
thickness: 2,
indent: 0,
endIndent: 0,
), ),
SizedBox( SizedBox(
height: 5, height: 10,
), ),
Form( Container(
color: Colors.white,
padding: EdgeInsets.all(8),
child: Form(
key: _formKey, key: _formKey,
child: TextFields( child: TextFields(
controller: answerController, controller: answerController,
maxLines: 3,
maxLines: 2,
minLines: 2, minLines: 2,
hintText: hintText: TranslationBase.of(context).answerThePatient,
TranslationBase.of(context).answerThePatient,
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
readOnly: _isLoading, readOnly: _isLoading,
validator: (value) { validator: (value) {
@ -301,8 +424,7 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
}, },
), ),
), ),
SizedBox(height: 10.0), ),
SizedBox(height: 10.0),
Container( Container(
width: double.infinity, width: double.infinity,
margin: EdgeInsets.only(left: 10, right: 10), margin: EdgeInsets.only(left: 10, right: 10),
@ -310,14 +432,12 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
onTap: () async { onTap: () async {
final form = _formKey.currentState; final form = _formKey.currentState;
if (form.validate()) { if (form.validate()) {
try { try {
await widget.model await widget.model.replay(
.replay(answerController.text.toString(), answerController.text.toString(),
widget.myReferralPatientModel); widget.myReferralPatientModel);
// TODO: Add Translation
DrAppToastMsg.showSuccesToast( DrAppToastMsg.showSuccesToast(
'Reply Successfully'); TranslationBase.of(context).replySuccessfully);
} catch (e) { } catch (e) {
DrAppToastMsg.showErrorToast(e); DrAppToastMsg.showErrorToast(e);
} }
@ -329,9 +449,10 @@ class _MyReferralPatientWidgetState extends State<MyReferralPatientWidget> {
) )
], ],
), ),
)
],
), ),
isExpand: widget.isExpand,
),
],
), ),
); );
} }

@ -30,11 +30,11 @@ class ProfileGeneralInfoContentWidget extends StatelessWidget {
title, title,
fontSize: SizeConfig.textMultiplier * 3, fontSize: SizeConfig.textMultiplier * 3,
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
color: Hexcolor('#58434F'), color: HexColor('#58434F'),
), ),
AppText( AppText(
info, info,
color: Hexcolor('#707070'), color: HexColor('#707070'),
fontSize: SizeConfig.textMultiplier * 2, fontSize: SizeConfig.textMultiplier * 2,
) )
], ],

@ -33,7 +33,7 @@ class ProfileHeaderWidget extends StatelessWidget {
des: patient.patientId.toString(), des: patient.patientId.toString(),
height: SizeConfig.heightMultiplier * 17, height: SizeConfig.heightMultiplier * 17,
width: SizeConfig.heightMultiplier * 17, width: SizeConfig.heightMultiplier * 17,
color: Hexcolor('#58434F')), color: HexColor('#58434F')),
); );
} }
} }

@ -114,7 +114,7 @@ class CircleAvatarWidget extends StatelessWidget {
decoration: new BoxDecoration( decoration: new BoxDecoration(
// color: Colors.green, // border color // color: Colors.green, // border color
shape: BoxShape.circle, shape: BoxShape.circle,
border: Border.all(color: Hexcolor('#B7831A'), width: 1.5)), border: Border.all(color: HexColor('#B7831A'), width: 1.5)),
child: CircleAvatar( child: CircleAvatar(
radius: SizeConfig.imageSizeMultiplier * 12, radius: SizeConfig.imageSizeMultiplier * 12,
child: Image.asset(url), child: Image.asset(url),

@ -32,11 +32,11 @@ class ProfileStatusInfoWidget extends StatelessWidget {
'Insurance approval', 'Insurance approval',
fontSize: SizeConfig.textMultiplier * 3, fontSize: SizeConfig.textMultiplier * 3,
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
color: Hexcolor('#58434F'), color: HexColor('#58434F'),
), ),
AppText( AppText(
'Approved', 'Approved',
color: Hexcolor('#707070'), color: HexColor('#707070'),
fontSize: SizeConfig.textMultiplier * 2.5, fontSize: SizeConfig.textMultiplier * 2.5,
) )
], ],

@ -54,7 +54,7 @@ class _VitalSignDetailsWidgetState extends State<VitalSignDetailsWidget> {
Container( Container(
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topLeft: Radius.circular(10.0), topLeft: Radius.circular(10.0),
), ),
@ -71,7 +71,7 @@ class _VitalSignDetailsWidgetState extends State<VitalSignDetailsWidget> {
Container( Container(
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#515B5D'), color: HexColor('#515B5D'),
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topRight: Radius.circular(10.0), topRight: Radius.circular(10.0),
), ),

@ -226,7 +226,7 @@ class _TextsState extends State<Texts> {
}, },
child: Text(hidden ? "Read More" : "Read less", child: Text(hidden ? "Read More" : "Read less",
style: _getFontStyle().copyWith( style: _getFontStyle().copyWith(
color: Hexcolor('#FF0000'), color: HexColor('#FF0000'),
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
fontFamily: "WorkSans" fontFamily: "WorkSans"
) )

@ -95,7 +95,7 @@ class _ButtonState extends State<Button> with TickerProviderStateMixin {
? 22.0 ? 22.0
: 19), : 19),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Hexcolor('#515b5d'), color: HexColor('#515b5d'),
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
@ -121,7 +121,7 @@ class _ButtonState extends State<Button> with TickerProviderStateMixin {
child: CircularProgressIndicator( child: CircularProgressIndicator(
backgroundColor: Colors.white, backgroundColor: Colors.white,
valueColor: AlwaysStoppedAnimation<Color>( valueColor: AlwaysStoppedAnimation<Color>(
Hexcolor('#FFDDD9'), HexColor('#FFDDD9'),
), ),
), ),
), ),

@ -26,7 +26,7 @@ class AppButton extends StatefulWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return return
RawMaterialButton( RawMaterialButton(
fillColor: widget.color != null ? widget.color : Hexcolor("#B8382C"), fillColor: widget.color != null ? widget.color : HexColor("#B8382C"),
splashColor: widget.color, splashColor: widget.color,
child: Padding( child: Padding(
padding: EdgeInsets.only( padding: EdgeInsets.only(

@ -33,7 +33,7 @@ class AppScaffold extends StatelessWidget {
appBar: isShowAppBar appBar: isShowAppBar
? AppBar( ? AppBar(
elevation: 0, elevation: 0,
backgroundColor: Hexcolor('#515B5D'), backgroundColor: HexColor('#515B5D'),
textTheme: TextTheme(headline6: TextStyle(color: Colors.white)), textTheme: TextTheme(headline6: TextStyle(color: Colors.white)),
title: Text(appBarTitle.toUpperCase()), title: Text(appBarTitle.toUpperCase()),
leading: Builder(builder: (BuildContext context) { leading: Builder(builder: (BuildContext context) {

@ -55,12 +55,12 @@ class AppTextFormField extends FormField<String> {
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(6)), borderRadius: BorderRadius.all(Radius.circular(6)),
borderSide: BorderSide( borderSide: BorderSide(
color: borderColor != null ? borderColor : Hexcolor( color: borderColor != null ? borderColor : HexColor(
"#CCCCCC")), "#CCCCCC")),
), ),
focusedBorder: OutlineInputBorder( focusedBorder: OutlineInputBorder(
borderSide: BorderSide( borderSide: BorderSide(
color: borderColor != null ? borderColor : Hexcolor( color: borderColor != null ? borderColor : HexColor(
"#CCCCCC")), "#CCCCCC")),
borderRadius: BorderRadius.all(Radius.circular(6)), borderRadius: BorderRadius.all(Radius.circular(6)),
) )

@ -31,7 +31,7 @@ class CardWithBgWidgetNew extends StatelessWidget {
), ),
child: Material( child: Material(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
color: Hexcolor('#FFFFFF'), color: HexColor('#FFFFFF'),
child: Stack( child: Stack(
children: [ children: [
Center( Center(

@ -26,7 +26,7 @@ class CardWithBgWidget extends StatelessWidget {
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(10.0), Radius.circular(10.0),
), ),
border: Border.all(color: Hexcolor('#707070'), width: 2.0), border: Border.all(color: HexColor('#707070'), width: 2.0),
), ),
child: Material( child: Material(
borderRadius: BorderRadius.all(Radius.circular(10.0)), borderRadius: BorderRadius.all(Radius.circular(10.0)),
@ -36,7 +36,7 @@ class CardWithBgWidget extends StatelessWidget {
Positioned( Positioned(
child: Container( child: Container(
width: 10, width: 10,
color: Hexcolor('#58434F'), color: HexColor('#58434F'),
), ),
bottom: 0, bottom: 0,
top: 0, top: 0,
@ -46,7 +46,7 @@ class CardWithBgWidget extends StatelessWidget {
Positioned( Positioned(
child: Container( child: Container(
width: 10, width: 10,
color: Hexcolor('#58434F'), color: HexColor('#58434F'),
), ),
bottom: 0, bottom: 0,
top: 0, top: 0,

@ -0,0 +1,67 @@
import 'package:expandable/expandable.dart';
import 'package:flutter/material.dart';
class HeaderBodyExpandableNotifier extends StatefulWidget {
final Widget headerWidget;
final Widget bodyWidget;
final Widget collapsed;
final bool isExpand;
bool expandFlag = false;
var controller = new ExpandableController();
HeaderBodyExpandableNotifier({this.headerWidget, this.bodyWidget, this.collapsed, this.isExpand});
@override
_HeaderBodyExpandableNotifierState createState() =>
_HeaderBodyExpandableNotifierState();
}
class _HeaderBodyExpandableNotifierState
extends State<HeaderBodyExpandableNotifier> {
@override
Widget build(BuildContext context) {
setState(() {
if (widget.isExpand == true) {
widget.expandFlag = widget.isExpand;
widget.controller.expanded = true;
}
});
return ExpandableNotifier(
child: Padding(
padding: const EdgeInsets.only(left: 0, right: 0),
child: Column(
children: <Widget>[
SizedBox(
child: widget.headerWidget,
),
ScrollOnExpand(
scrollOnExpand: true,
scrollOnCollapse: false,
child: ExpandablePanel(
theme: const ExpandableThemeData(
headerAlignment: ExpandablePanelHeaderAlignment.center,
tapBodyToCollapse: true,
),
// header: widget.headerWidget,
collapsed: Container(),
expanded: widget.bodyWidget,
builder: (_, collapsed, expanded) {
return Padding(
padding: EdgeInsets.only(left: 0, right: 0, bottom: 0),
child: Expandable(
controller: widget.controller,
collapsed: collapsed,
expanded: expanded,
theme: const ExpandableThemeData(crossFadePoint: 0),
),
);
},
),
),
],
),
),
);
}
}

@ -7,14 +7,14 @@ packages:
name: _fe_analyzer_shared name: _fe_analyzer_shared
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0" version: "12.0.0"
analyzer: analyzer:
dependency: transitive dependency: transitive
description: description:
name: analyzer name: analyzer
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.39.8" version: "0.40.6"
archive: archive:
dependency: transitive dependency: transitive
description: description:
@ -49,7 +49,7 @@ packages:
name: bazel_worker name: bazel_worker
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.23+1" version: "0.1.25"
boolean_selector: boolean_selector:
dependency: transitive dependency: transitive
description: description:
@ -63,14 +63,14 @@ packages:
name: build name: build
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.2" version: "1.5.2"
build_config: build_config:
dependency: transitive dependency: transitive
description: description:
name: build_config name: build_config
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.2" version: "0.4.4"
build_daemon: build_daemon:
dependency: transitive dependency: transitive
description: description:
@ -84,35 +84,35 @@ packages:
name: build_modules name: build_modules
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.8.1" version: "3.0.1"
build_resolvers: build_resolvers:
dependency: transitive dependency: transitive
description: description:
name: build_resolvers name: build_resolvers
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.7" version: "1.4.4"
build_runner: build_runner:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: build_runner name: build_runner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.9.0" version: "1.10.7"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
name: build_runner_core name: build_runner_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.1.0" version: "6.1.2"
build_web_compilers: build_web_compilers:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: build_web_compilers name: build_web_compilers
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.9.0" version: "2.12.2"
built_collection: built_collection:
dependency: transitive dependency: transitive
description: description:
@ -162,6 +162,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.2" version: "1.0.2"
cli_util:
dependency: transitive
description:
name: cli_util
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
clock: clock:
dependency: transitive dependency: transitive
description: description:
@ -175,7 +182,7 @@ packages:
name: code_builder name: code_builder
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.2.1" version: "3.5.0"
collection: collection:
dependency: transitive dependency: transitive
description: description:
@ -189,21 +196,28 @@ packages:
name: connectivity name: connectivity
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.8+2" version: "0.4.9+5"
connectivity_for_web:
dependency: transitive
description:
name: connectivity_for_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.1+4"
connectivity_macos: connectivity_macos:
dependency: transitive dependency: transitive
description: description:
name: connectivity_macos name: connectivity_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.0+2" version: "0.1.0+7"
connectivity_platform_interface: connectivity_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: connectivity_platform_interface name: connectivity_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.5" version: "1.0.6"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@ -217,14 +231,7 @@ packages:
name: crypto name: crypto
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.4" version: "2.1.5"
csslib:
dependency: transitive
description:
name: csslib
url: "https://pub.dartlang.org"
source: hosted
version: "0.16.1"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@ -238,21 +245,28 @@ packages:
name: dart_style name: dart_style
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.4" version: "1.3.10"
device_info: device_info:
dependency: "direct main" dependency: "direct main"
description: description:
name: device_info name: device_info
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.2+4" version: "0.4.2+10"
device_info_platform_interface:
dependency: transitive
description:
name: device_info_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
eva_icons_flutter: eva_icons_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
name: eva_icons_flutter name: eva_icons_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.1"
expandable: expandable:
dependency: "direct main" dependency: "direct main"
description: description:
@ -267,6 +281,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0-nullsafety.1" version: "1.2.0-nullsafety.1"
ffi:
dependency: transitive
description:
name: ffi
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
file:
dependency: transitive
description:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.1"
fixnum: fixnum:
dependency: transitive dependency: transitive
description: description:
@ -304,7 +332,7 @@ packages:
name: flutter_plugin_android_lifecycle name: flutter_plugin_android_lifecycle
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.7" version: "1.0.11"
flutter_test: flutter_test:
dependency: "direct dev" dependency: "direct dev"
description: flutter description: flutter
@ -342,21 +370,14 @@ packages:
name: hexcolor name: hexcolor
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1" version: "1.0.6"
html:
dependency: transitive
description:
name: html
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+3"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:
name: http name: http
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.1" version: "0.12.2"
http_interceptor: http_interceptor:
dependency: "direct main" dependency: "direct main"
description: description:
@ -384,7 +405,7 @@ packages:
name: imei_plugin name: imei_plugin
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.6" version: "1.2.0"
intl: intl:
dependency: "direct main" dependency: "direct main"
description: description:
@ -405,21 +426,21 @@ packages:
name: js name: js
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.3-nullsafety.1" version: "0.6.2"
json_annotation: json_annotation:
dependency: transitive dependency: transitive
description: description:
name: json_annotation name: json_annotation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.1" version: "3.1.1"
local_auth: local_auth:
dependency: "direct main" dependency: "direct main"
description: description:
name: local_auth name: local_auth
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.2+1" version: "0.6.3+4"
logging: logging:
dependency: transitive dependency: transitive
description: description:
@ -433,7 +454,7 @@ packages:
name: maps_launcher name: maps_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.2.2+2"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:
@ -447,14 +468,14 @@ packages:
name: meta name: meta
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0-nullsafety.4" version: "1.3.0-nullsafety.3"
mime: mime:
dependency: transitive dependency: transitive
description: description:
name: mime name: mime
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.9.6+3" version: "0.9.7"
nested: nested:
dependency: transitive dependency: transitive
description: description:
@ -468,14 +489,14 @@ packages:
name: node_interop name: node_interop
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.2.1"
node_io: node_io:
dependency: transitive dependency: transitive
description: description:
name: node_io name: node_io
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1+2" version: "1.2.0"
package_config: package_config:
dependency: transitive dependency: transitive
description: description:
@ -490,34 +511,55 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0-nullsafety.1" version: "1.8.0-nullsafety.1"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+2"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
path_provider_windows:
dependency: transitive
description:
name: path_provider_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.4+3"
pedantic: pedantic:
dependency: transitive dependency: transitive
description: description:
name: pedantic name: pedantic
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0+1" version: "1.9.2"
percent_indicator: percent_indicator:
dependency: "direct main" dependency: "direct main"
description: description:
name: percent_indicator name: percent_indicator
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.1+1" version: "2.1.8"
permission_handler: permission_handler:
dependency: "direct main" dependency: "direct main"
description: description:
name: permission_handler name: permission_handler
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.0.0+hotfix.5" version: "5.0.1+1"
permission_handler_platform_interface: permission_handler_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_platform_interface name: permission_handler_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.1"
platform: platform:
dependency: transitive dependency: transitive
description: description:
@ -531,7 +573,7 @@ packages:
name: plugin_platform_interface name: plugin_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.2" version: "1.0.3"
pool: pool:
dependency: transitive dependency: transitive
description: description:
@ -539,6 +581,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.4.0" version: "1.4.0"
process:
dependency: transitive
description:
name: process
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.13"
progress_hud_v2: progress_hud_v2:
dependency: "direct main" dependency: "direct main"
description: description:
@ -552,14 +601,14 @@ packages:
name: protobuf name: protobuf
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.1" version: "1.1.0"
provider: provider:
dependency: "direct main" dependency: "direct main"
description: description:
name: provider name: provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.5+1" version: "4.3.2+3"
pub_semver: pub_semver:
dependency: transitive dependency: transitive
description: description:
@ -580,7 +629,7 @@ packages:
name: quiver name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.3" version: "2.1.5"
scratch_space: scratch_space:
dependency: transitive dependency: transitive
description: description:
@ -594,35 +643,49 @@ packages:
name: shared_preferences name: shared_preferences
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.7" version: "0.5.12+4"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.2+4"
shared_preferences_macos: shared_preferences_macos:
dependency: transitive dependency: transitive
description: description:
name: shared_preferences_macos name: shared_preferences_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.1+7" version: "0.0.1+11"
shared_preferences_platform_interface: shared_preferences_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: shared_preferences_platform_interface name: shared_preferences_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.0.4"
shared_preferences_web: shared_preferences_web:
dependency: transitive dependency: transitive
description: description:
name: shared_preferences_web name: shared_preferences_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.2+4" version: "0.1.2+7"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+3"
shelf: shelf:
dependency: transitive dependency: transitive
description: description:
name: shelf name: shelf
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.7.5" version: "0.7.9"
shelf_web_socket: shelf_web_socket:
dependency: transitive dependency: transitive
description: description:
@ -662,7 +725,7 @@ packages:
name: stack_trace name: stack_trace
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.10.0-nullsafety.2" version: "1.10.0-nullsafety.1"
stream_channel: stream_channel:
dependency: transitive dependency: transitive
description: description:
@ -718,28 +781,42 @@ packages:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.4.5" version: "5.7.10"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+4"
url_launcher_macos: url_launcher_macos:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_macos name: url_launcher_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.1+5" version: "0.0.1+9"
url_launcher_platform_interface: url_launcher_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_platform_interface name: url_launcher_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.6" version: "1.0.9"
url_launcher_web: url_launcher_web:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_web name: url_launcher_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.1+4" version: "0.1.5+1"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+3"
vector_math: vector_math:
dependency: transitive dependency: transitive
description: description:
@ -761,6 +838,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.1.0"
win32:
dependency: transitive
description:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.4"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
yaml: yaml:
dependency: transitive dependency: transitive
description: description:
@ -769,5 +860,5 @@ packages:
source: hosted source: hosted
version: "2.2.1" version: "2.2.1"
sdks: sdks:
dart: ">=2.10.0-110 <=2.11.0-213.1.beta" dart: ">=2.10.0 <2.11.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0" flutter: ">=1.22.0 <2.0.0"

Loading…
Cancel
Save