|
|
|
|
@ -8,6 +8,7 @@ import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/expandable-widget-header-body.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/text_fields/app-textfield-custom.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_html/shims/dart_ui.dart';
|
|
|
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
@ -18,7 +19,7 @@ class AddExaminationWidget extends StatefulWidget {
|
|
|
|
|
final Function(MySelectedExamination) addHistory;
|
|
|
|
|
final bool Function(MasterKeyModel) isServiceSelected;
|
|
|
|
|
bool isExpand;
|
|
|
|
|
final Function expandClick;
|
|
|
|
|
final VoidCallback expandClick;
|
|
|
|
|
|
|
|
|
|
AddExaminationWidget({
|
|
|
|
|
required this.item,
|
|
|
|
|
@ -89,7 +90,7 @@ class _AddExaminationWidgetState extends State<AddExaminationWidget> {
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8),
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: widget.expandClick(),
|
|
|
|
|
onTap: widget.expandClick,
|
|
|
|
|
child: Icon(widget.isExpand ? Icons.keyboard_arrow_up : Icons.keyboard_arrow_down)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
|