walle_kit 2.0.2 copy "walle_kit: ^2.0.2" to clipboard
walle_kit: ^2.0.2 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 {
    final String? channelId = await Walle.getChannelId();

    if (!mounted) {
      return;
    }

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

  @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
0
points
36
downloads

Publisher

verified publisherrxreader.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on walle_kit

Packages that implement walle_kit