zebra_discovery_b64 1.0.2 copy "zebra_discovery_b64: ^1.0.2" to clipboard
zebra_discovery_b64: ^1.0.2 copied to clipboard

This library decodes the discovery_b64 message that Zebra printers will send when they connect to a websocket endpoint, also named WebLink in the Zebra documentation.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'src/app.dart';
import 'src/settings/settings_controller.dart';
import 'src/settings/settings_service.dart';

void main() async {
  // Set up the SettingsController, which will glue user settings to multiple
  // Flutter Widgets.
  final settingsController = SettingsController(SettingsService());

  // Load the user's preferred theme while the splash screen is displayed.
  // This prevents a sudden theme change when the app is first displayed.
  await settingsController.loadSettings();

  // Run the app and pass in the SettingsController. The app listens to the
  // SettingsController for changes, then passes it further down to the
  // SettingsView.
  runApp(MyApp(settingsController: settingsController));
}
2
likes
150
points
19
downloads

Documentation

API reference

Publisher

verified publisherdalosy.com

Weekly Downloads

This library decodes the discovery_b64 message that Zebra printers will send when they connect to a websocket endpoint, also named WebLink in the Zebra documentation.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, json_annotation

More

Packages that depend on zebra_discovery_b64