moon_calendar

Last updated:

0 purchases

moon_calendar Image
moon_calendar Images
Add to Cart

Description:

moon calendar

Flutter Calendar
GitHub #
https://github.com/jongheonmoon/moon_calendar/tree/master
pub.dev #
https://pub.dev/packages/moon_calendar
Download #
moon_calendar: ^1.0.2
copied to clipboard
Example #
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
DateTime startDateTime = DateTime.now();
DateTime endDateTime = DateTime.now().add(const Duration(days: 365));
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: Calender(
startDateTime: startDateTime,
selectCallback: (DateTime dateTime) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text(dateTime.toString()),
duration: const Duration(seconds: 3), // 올라와있는 시간
));
},
endDateTime: endDateTime,
disableSelectedCallback: () {
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
content: Text("선택 안되는 날짜"),
duration: Duration(seconds: 3), // 올라와있는 시간
));
},
isTodayColor: true,
), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}
copied to clipboard
Preview #



Updates #
1.0.3 #

README.md 수정
나의 프로필 수정

1.0.2 #

README.md 수정
Dart format 변경

1.0.1 #

소스 정리
주석 추가
설명 문구 수정

1.0.0 #

최초 업로드

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.