diff --git a/example/lib/main.dart b/example/lib/main.dart index 4f12fa0..3b7e0e3 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,6 +1,6 @@ -import 'package:bdk_flutter_example/simple_wallet.dart'; +import 'package:bdk_flutter_example/wallet.dart'; import 'package:flutter/material.dart'; void main() { - runApp(const SimpleWallet()); + runApp(const ExampleWallet()); } diff --git a/example/lib/simple_wallet.dart b/example/lib/wallet.dart similarity index 98% rename from example/lib/simple_wallet.dart rename to example/lib/wallet.dart index c0af426..159e368 100644 --- a/example/lib/simple_wallet.dart +++ b/example/lib/wallet.dart @@ -4,14 +4,14 @@ import 'package:flutter/material.dart'; import 'bdk_library.dart'; -class SimpleWallet extends StatefulWidget { - const SimpleWallet({super.key}); +class ExampleWallet extends StatefulWidget { + const ExampleWallet({super.key}); @override - State createState() => _SimpleWalletState(); + State createState() => _ExampleWalletState(); } -class _SimpleWalletState extends State { +class _ExampleWalletState extends State { String displayText = ""; BigInt balance = BigInt.zero; late Wallet wallet;