blockchain-flutter/lib/main.dart
StillHammer 5a8300c5ea Initial setup: Flutter blockchain explorer app
- Clean architecture with feature-based organization
- Riverpod state management, Dio HTTP, GoRouter navigation
- Dashboard, blocks, wallet, transactions, mining screens
- Dark crypto theme with JetBrains Mono font
2026-02-01 10:12:34 +08:00

26 lines
621 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'core/theme/app_theme.dart';
import 'routing/app_router.dart';
void main() {
runApp(const ProviderScope(child: BlockchainApp()));
}
class BlockchainApp extends ConsumerWidget {
const BlockchainApp({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
final router = ref.watch(appRouterProvider);
return MaterialApp.router(
title: 'Blockchain Explorer',
theme: AppTheme.darkTheme,
routerConfig: router,
debugShowCheckedModeBanner: false,
);
}
}