Steve Chikwiri
Steve Chikwiri
> that different from my setup. here a example repo https://github.com/natt-han/monarch_test > > this is widget https://github.com/natt-han/monarch_test/blob/main/lib/asset_widget.dart this is story https://github.com/natt-han/monarch_test/blob/main/stories/asset_widget_stories.dart It only makes sense to use the `package` argument...
Unless I'm mistaken but based on that, you should use `Image.asset()` as below: Let's call the package containing AssetWidget 'asset_widget_package' - When refering to assets in the `main_project` from within...
Adding this after initialisation fixed it for me: let flutterTts = FlutterTts(); await flutterTts.setSharedInstance(true); await flutterTts.setIosAudioCategory(IosTextToSpeechAudioCategory.playback, [ IosTextToSpeechAudioCategoryOptions.allowBluetooth, IosTextToSpeechAudioCategoryOptions.allowBluetoothA2DP, IosTextToSpeechAudioCategoryOptions.mixWithOthers, IosTextToSpeechAudioCategoryOptions.defaultToSpeaker ], IosTextToSpeechAudioMode.defaultMode );
Set overlayColor prop as below  s below