walle_kit 1.1.5 copy "walle_kit: ^1.1.5" to clipboard
walle_kit: ^1.1.5 copied to clipboard

outdated

A powerful Flutter plugin allowing developers to read/write channelId to apk with Walle Tools/SDKs.

example/lib/main.dart

import 'dart:async';

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

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _channelId = '';

  @override
  void initState() {
    super.initState();
    _initChannelId();
  }

  Future<void> _initChannelId() async {
    String channelId = await Walle.getChannelId();

    if (!mounted) {
      return;
    }

    setState(() {
      _channelId = channelId ?? '';
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('walle_kit'),
        ),
        body: Center(
          child: Text('channelId: $_channelId\n'),
        ),
      ),
    );
  }
}
2
likes
30
pub points
63%
popularity

Publisher

verified publisherrxreader.com

A powerful Flutter plugin allowing developers to read/write channelId to apk with Walle Tools/SDKs.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on walle_kit