Merge pull request #210 from yaso-meth/QOL--Add-label-to-medication-search
added
This commit is contained in:
commit
98e1c85759
1 changed files with 33 additions and 14 deletions
|
|
@ -351,13 +351,30 @@ class _PrescripInputState extends State<PrescripInput> {
|
||||||
MihForm(
|
MihForm(
|
||||||
formKey: _formKey,
|
formKey: _formKey,
|
||||||
formFields: [
|
formFields: [
|
||||||
|
Column(
|
||||||
|
children: [
|
||||||
|
Align(
|
||||||
|
alignment: Alignment.centerLeft,
|
||||||
|
child: Text(
|
||||||
|
"Medication",
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 18,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
color: MzanziInnovationHub.of(context)!
|
||||||
|
.theme
|
||||||
|
.secondaryColor(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 4),
|
||||||
MihSearchBar(
|
MihSearchBar(
|
||||||
controller: widget.medicineController,
|
controller: widget.medicineController,
|
||||||
hintText: "Search Medicine",
|
hintText: "Search Medicine",
|
||||||
prefixIcon: Icons.search,
|
prefixIcon: Icons.search,
|
||||||
fillColor:
|
fillColor:
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
hintColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
hintColor:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
onPrefixIconTap: () {
|
onPrefixIconTap: () {
|
||||||
getMedsPopUp(widget.medicineController);
|
getMedsPopUp(widget.medicineController);
|
||||||
},
|
},
|
||||||
|
|
@ -366,6 +383,8 @@ class _PrescripInputState extends State<PrescripInput> {
|
||||||
},
|
},
|
||||||
searchFocusNode: _searchFocusNode,
|
searchFocusNode: _searchFocusNode,
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
const SizedBox(height: 10.0),
|
const SizedBox(height: 10.0),
|
||||||
MihNumericStepper(
|
MihNumericStepper(
|
||||||
controller: widget.dosageController,
|
controller: widget.dosageController,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue