moon_calendar 1.0.3 copy "moon_calendar: ^1.0.3" to clipboard
moon_calendar: ^1.0.3 copied to clipboard

Pretty Calendar Made for You is very simple to use. Even the UI is simple.

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

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.
    );
  }
}

Preview #

Updates #

1.0.3 #

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

1.0.2 #

  • README.md 수정
  • Dart format 변경

1.0.1 #

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

1.0.0 #

  • 최초 업로드
7
likes
160
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Pretty Calendar Made for You is very simple to use. Even the UI is simple.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, get

More

Packages that depend on moon_calendar