Documentation
Tauwar stands for Ukraine!
Peace for Ukraine
Pray for Ukraine
Tauwar
Tauwar
is an Etau implementation for Flutter on mobiles.
Etau is the interface and this is what see the App. So, there are not many things to say about Tauwar
because this is just an implementation. The only verb used by the App is tau()
, which gives the implementation.
You can see all the Etau project documentation here.
Example
import 'package:etau/etau.dart';
import 'package:tau_war/tau_war.dart';
@override
void initState()
{
super.initState();
tau().init().then
((e){
audioCtx = tau().newAudioContext();
});
}
...
// Then all the code depends only on the interface (`etau`)
dest = audioCtx.destination;
source = audioCtx.createBufferSource();
source!.buffer = audioBuffer;
pannerNode = audioCtx.createStereoPanner();
pannerNode!.pan.value = pannerValue;
source!.connect(pannerNode!).connect(dest!);
if your App needs to support at the same time Flutter Web And Flutter on mobiles:
import 'package:etau/etau.dart';
import 'package:etau/dummy.dart'
if (dart.library.js_interop) 'package:tau_web/tau_web.dart'
if (dart.library.io) 'package:tau_war/tau_war.dart';
@override
void initState()
{
super.initState();
tau().init().then
((e){
audioCtx = tau().newAudioContext();
});
}