DigiByte logo

DigiCoinLib 0.0.3 source BSD-3-Clause Dart library Flutter plugin CI status

DigiCoinLib Flutter — 0.0.3 candidate

Flutter platform wrapper for digicoinlib, including native secp256k1 integration and the DigiCoinlibLoader widget for asynchronous initialization.

Install after both packages are published:

flutter pub add digicoinlib_flutter
import 'package:flutter/widgets.dart';
import 'package:digicoinlib_flutter/digicoinlib_flutter.dart';

class DigiByteLoaderExample extends StatelessWidget {
  const DigiByteLoaderExample({super.key});

  @override
  Widget build(BuildContext context) => DigiCoinlibLoader(
    loadChild: const Text('Loading DigiCoinLib'),
    errorBuilder: (context, error) => Text('Error: $error'),
    builder: (context) => const Text('DigiCoinLib ready'),
  );
}

Supports Android, iOS, Linux, macOS, Windows and web with platform-specific setup. Android uses the explicit com.example.digicoinlib_flutter Gradle namespace required by AGP 8+. The example application at example/ uses a local path reference to the wrapper, not a nonexistent hosted 2.0.0 version.

Before publication, resolve the sibling Dart core using local development overrides. See MIGRATION.md and VALIDATION.md. No cryptographic primitives were changed in this wrapper release.