shipbook 0.0.2 copy "shipbook: ^0.0.2" to clipboard
shipbook: ^0.0.2 copied to clipboard

outdated

This package provides a `Shipbook` class which can log your message to shipbook server.

This package provides a Shipbook class which can log your message to shipbook server.

For example, you can use Shipbook in your libraries like this:

// import.dart
import 'package:shipbook/shipbook.dart';

/// init shipbook
  @override
  void initState() {
    super.initState();

    Shipbook.start(
        'SHIPBOOK_APP_ID', 'SHIPBOOK_TOKEN');
  }

...and usage:

// main.dart
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              Log.i('tag', 'message');
            },
            child: const Text('Log'),
          ),
        ),
      ),
    );
  }
6
likes
0
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides a `Shipbook` class which can log your message to shipbook server.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on shipbook

Packages that implement shipbook