buildBackButton method
Allows user to close the FloatingSearchBar
when open.
Implementation
Widget buildBackButton() {
return FloatingSearchBarAction(
showIfOpened: true,
showIfClosed: false,
child: JidoujishoIconButton(
size: textTheme.titleLarge?.fontSize,
tooltip: t.back,
icon: Icons.arrow_back,
onTap: () {
mediaType.floatingSearchBarController.close();
},
),
);
}