flutter_mdetect 0.0.4 flutter_mdetect: ^0.0.4 copied to clipboard
Detect Zawgyi Or Unicode of the phone. Support for both android and iOS.
import 'package:flutter/material.dart';
import 'mytheme.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: MyTheme.defaultColor,
),
home: MyHomePage(title: 'Detect Zawgyi and Unicode'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(child: Text(MyTheme.mmText('နေကောင်းလား'))),
);
}
}