import 'package:flutter/material.dart';
import 'app/theme/app_theme.dart';
import 'app/router.dart';

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

/// Genex 发行方管理控制台 (Issuer Console)
///
/// 企业/政府/机构使用的券发行与管理工具
/// Web2体验：发券 = 创建优惠活动，链上铸造在后台自动完成
class GenexIssuerApp extends StatelessWidget {
  const GenexIssuerApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Genex Issuer Console',
      theme: AppTheme.light,
      debugShowCheckedModeBanner: false,
      initialRoute: AppRouter.splash,
      onGenerateRoute: AppRouter.generateRoute,
    );
  }
}
