flutter_mmcalendar 0.0.4 flutter_mmcalendar: ^0.0.4 copied to clipboard
Myanmar calendar library for flutter application with many utility methods and calculations.
import 'package:example/pages/home_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_mmcalendar/flutter_mmcalendar.dart';
void main() {
MmCalendarConfig.initDefault(
const MmCalendarOptions(
language: Language.myanmar,
),
);
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter MMCalendar',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const HomePage(),
);
}
}