This example application demonstrates using the Flutter JVx Client as external library. The app will add custom screens and will use other external libraries to demonstrate the full power.
- Clone the repository
- Change the config (lib/main.dart)
- Run the app
The client uses a custom screen manager. It is defined in main.dart as screenManager property. The implementation can be found in ExampleCustomScreenManager class. The screen manager is responsible for menu customizing and for opening custom screens.
The example implementation adds a three new screens to the menu:
- Hello Custom Screen
- Telephone Call Screen
- Map Custom Screen
and changes the existing
- Charts
screen.
The new screens are simple Flutter widgets and don't use the JVx API. The Charts screen uses the JVx API to retrieve data from the remote server and shows custom chart widgets.
The example application uses Flutter JVx Client. So be sure that you upgrade the dependencies from time to time:
flutter pub upgrade