getActions method
- {required BuildContext context,
- required WidgetRef ref,
- required AppModel appModel}
override
Get the floating search bar actions of this source when it is the active source being displayed on its respective media type tab.
Implementation
@override
List<Widget> getActions({
required BuildContext context,
required WidgetRef ref,
required AppModel appModel,
}) {
return [
if (isActive)
buildClearButton(
context: context,
ref: ref,
appModel: appModel,
),
buildConnectButton(
context: context,
ref: ref,
appModel: appModel,
),
];
}