diff --git a/lib/main.dart b/lib/main.dart index 78d0e33..18c5fd1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:ssconverter/screens/about_screen.dart'; import 'package:ssconverter/screens/my_home_page.dart'; +import 'package:ssconverter/shared/SystemConsts.dart'; void main() { runApp(const MyApp()); @@ -24,7 +25,7 @@ class _MyAppState extends State { @override Widget build(BuildContext context) { return MaterialApp( - title: 'SS Converter', + title: 'SS Converter v${SystemConsts.version}', theme: ThemeData( brightness: Brightness.dark, primaryColor: Colors.amber, diff --git a/lib/shared/SystemConsts.dart b/lib/shared/SystemConsts.dart new file mode 100644 index 0000000..461bdbe --- /dev/null +++ b/lib/shared/SystemConsts.dart @@ -0,0 +1,3 @@ +mixin SystemConsts { + static String version = '1.0.2'; +}