import 'package:flutter/material.dart'; import 'package:mchess/chess/chess_app.dart'; import 'package:package_info_plus/package_info_plus.dart'; void main() async { final info = await PackageInfo.fromPlatform(); runApp(ChessApp(version: info.version)); }