buildPickVideoButton method
- {required BuildContext context,
- required WidgetRef ref,
- required AppModel appModel}
Allows user to pick a video file.
Implementation
Widget buildPickVideoButton({
required BuildContext context,
required WidgetRef ref,
required AppModel appModel,
}) {
return FloatingSearchBarAction(
showIfOpened: true,
child: JidoujishoIconButton(
size: Theme.of(context).textTheme.titleLarge?.fontSize,
tooltip: t.pick_video_file,
icon: Icons.perm_media,
onTap: () => pickVideoFile(
context: context,
appModel: appModel,
ref: ref,
pushReplacement: false,
),
),
);
}