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

import 'app.dart';

void bootstrap() {
  WidgetsFlutterBinding.ensureInitialized();

  // ProviderScope 包裹全局，network_provider 等 Provider 懒加载单例
  runApp(
    const ProviderScope(
      child: IMApp(),
    ),
  );
}
