added
This commit is contained in:
@@ -351,20 +351,39 @@ class _PrescripInputState extends State<PrescripInput> {
|
|||||||
MihForm(
|
MihForm(
|
||||||
formKey: _formKey,
|
formKey: _formKey,
|
||||||
formFields: [
|
formFields: [
|
||||||
MihSearchBar(
|
Column(
|
||||||
controller: widget.medicineController,
|
children: [
|
||||||
hintText: "Search Medicine",
|
Align(
|
||||||
prefixIcon: Icons.search,
|
alignment: Alignment.centerLeft,
|
||||||
fillColor:
|
child: Text(
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
"Medication",
|
||||||
hintColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
style: TextStyle(
|
||||||
onPrefixIconTap: () {
|
fontSize: 18,
|
||||||
getMedsPopUp(widget.medicineController);
|
fontWeight: FontWeight.bold,
|
||||||
},
|
color: MzanziInnovationHub.of(context)!
|
||||||
onClearIconTap: () {
|
.theme
|
||||||
widget.medicineController.clear();
|
.secondaryColor(),
|
||||||
},
|
),
|
||||||
searchFocusNode: _searchFocusNode,
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 4),
|
||||||
|
MihSearchBar(
|
||||||
|
controller: widget.medicineController,
|
||||||
|
hintText: "Search Medicine",
|
||||||
|
prefixIcon: Icons.search,
|
||||||
|
fillColor:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
|
hintColor:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
|
onPrefixIconTap: () {
|
||||||
|
getMedsPopUp(widget.medicineController);
|
||||||
|
},
|
||||||
|
onClearIconTap: () {
|
||||||
|
widget.medicineController.clear();
|
||||||
|
},
|
||||||
|
searchFocusNode: _searchFocusNode,
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10.0),
|
const SizedBox(height: 10.0),
|
||||||
MihNumericStepper(
|
MihNumericStepper(
|
||||||
|
|||||||
Reference in New Issue
Block a user