Steve Chikwiri

Results 4 comments of 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 ![Screenshot 2024-08-07 at 13 35 58](https://github.com/user-attachments/assets/2f9be4dd-4831-42c5-bd01-c9b6e364799f) s below