showSharedNowPlaying static method
Navigate to the shared instance of the NowPlaying Template
- If animated is true, CarPlay animates the transition between templates.
Implementation
static Future<bool> showSharedNowPlaying({bool animated = true}) async {
final bool? isCompleted =
await FlutterCarPlayController.flutterToNativeModule(
FCPChannelTypes.showNowPlaying,
animated,
);
return isCompleted ?? false;
}