Basic App Example
On this page
Path: example/basic_app
This example is the fastest way to inspect core API usage in a console app.
Run#
cd example/basic_app
dart pub get
dart run
Test#
cd example/basic_app
dart test
What it demonstrates#
- Engine initialization.
- Model loading and teardown.
- Streaming token generation.
- Small-footprint project setup for non-Flutter Dart apps.