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

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

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();

    Shipbook.start(
        '6479a224f8f2874bd8c7984fl', '129e6bb130dc4104bc1f43daa41276ac6');
  }

  @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
140
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on shipbook

Packages that implement shipbook