Files
wolf_dart/apps/wolf_3d_gui/lib/main.dart
T

26 lines
667 B
Dart

/// Flutter entry point for the GUI host application.
///
/// The GUI bootstraps bundled and discoverable game data through
/// [Wolf3dFlutterEngine]
/// before presenting the game-selection flow.
library;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:wolf_3d_flutter/wolf_3d_flutter.dart';
/// Creates the application shell after loading available Wolf3D data sets.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
final Wolf3dFlutterEngine wolf3d = await Wolf3dFlutterEngine(
debug: kDebugMode,
).init();
runApp(
MaterialApp(
home: Wolf3dApp(engine: wolf3d),
),
);
}