|
|
|
@ -54,11 +54,11 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Expanded(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
height: MediaQuery.of(context).size.height * 0.62,
|
|
|
|
height: MediaQuery.of(context).size.height * 0.62,
|
|
|
|
child: Center(
|
|
|
|
child: Center(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
padding:EdgeInsets.all(20),
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
color: Colors.white),
|
|
|
|
color: Colors.white),
|
|
|
|
@ -68,13 +68,19 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
|
|
|
|
hintText: widget.hintSearchText ?? TranslationBase
|
|
|
|
hintText: widget.hintSearchText ?? TranslationBase
|
|
|
|
.of(context)
|
|
|
|
.of(context)
|
|
|
|
.searchHistory,
|
|
|
|
.searchHistory,
|
|
|
|
|
|
|
|
borderWidth: 0.0,
|
|
|
|
|
|
|
|
padding: EdgeInsets.all(20),
|
|
|
|
|
|
|
|
borderRadius: 0,
|
|
|
|
suffixIcon: EvaIcons.search,
|
|
|
|
suffixIcon: EvaIcons.search,
|
|
|
|
onChanged: (value) {
|
|
|
|
onChanged: (value) {
|
|
|
|
filterSearchResults(value);
|
|
|
|
filterSearchResults(value);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(height: 15,),
|
|
|
|
// SizedBox(height: 15,),
|
|
|
|
Column(
|
|
|
|
DividerWithSpacesAround(),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
// padding:EdgeInsets.all(20),
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
children: items.map((historyInfo) {
|
|
|
|
children: items.map((historyInfo) {
|
|
|
|
return Column(
|
|
|
|
return Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
@ -114,17 +120,20 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}).toList(),
|
|
|
|
}).toList(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 10,
|
|
|
|
height: 10,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (widget.model.state == ViewState.Idle)
|
|
|
|
if (widget.model.state == ViewState.Idle)
|
|
|
|
AppButton(
|
|
|
|
AppButton(
|
|
|
|
title: widget.buttonName?? TranslationBase.of(context).addSelectedHistories.toUpperCase(),
|
|
|
|
title: widget.buttonName?? TranslationBase.of(context).addSelectedHistories,
|
|
|
|
padding: 10,
|
|
|
|
padding: 10,
|
|
|
|
|
|
|
|
color: Color(0xFF359846),
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
widget.addSelectedHistories();
|
|
|
|
widget.addSelectedHistories();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|