initial commit

This commit is contained in:
betty2310
2026-10-20 12:45:50 +07:00
commit 5f3fb1543b
78 changed files with 2574 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import 'package:flutter/material.dart';
import 'app.dart';
void main() {
// Optional preview hook: `--dart-define=PLATFORM_OVERRIDE=ios|android`
// forces the Cupertino or Material UI (used for screenshots on non-mobile
// hosts). Unset on a real phone, so the running platform decides.
const override = String.fromEnvironment('PLATFORM_OVERRIDE');
runApp(
DeviceCodeApp(
platform: switch (override) {
'ios' => TargetPlatform.iOS,
'android' => TargetPlatform.android,
_ => null,
},
),
);
}