openSearchPage method
Implementation
void openSearchPage(BuildContext context) async {
final result = await Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SerchFieldPage(
barText: widget.barText,
persistencePage: widget.persistencePage,
showPersistenceButton: widget.showPersistenceButton,
getSource: widget.getSource,
colorWhite: widget.colorWhite,
colorPrimary: widget.colorPrimary,
),
fullscreenDialog: true,
),
);
if (result != null) resolveSelectedValue(result);
}