crypto_address_wallet 1.0.0 copy "crypto_address_wallet: ^1.0.0" to clipboard
crypto_address_wallet: ^1.0.0 copied to clipboard

This Crypto Address Wallet class is a widget that displays a cryptocurrency address. It takes a number of parameters as input that allow to set its display and various properties.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

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

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text("example crypto_address_wallet"),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            /* CryptoAddressWallet(
             hash: 'xcdscscsfsdfsdfdsfsfsdsddcvdsfsfds',
             isShowCopyIcon: true,
           )*/
          ],
        ),
      ),
      // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}
2
likes
150
points
22
downloads

Publisher

verified publisherswanflutterdev.com

Weekly Downloads

This Crypto Address Wallet class is a widget that displays a cryptocurrency address. It takes a number of parameters as input that allow to set its display and various properties.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on crypto_address_wallet