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

outdated

You can make calendar widget Flutter package project.

[./preview/my_img.png]

Flutter Calendar

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(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Calender(
        startDateTime: startDateTime,
        selectCallback: (DateTime dateTime) {
          print(dateTime.toString());
        },
        endDateTime: endDateTime,
        disableSelectedCallback: () {
          print("선택 안되는 날짜");
        },
        isTodayColor: true,
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Preview #

[./preview/preview1.png]

Updates #

1.0.0 #

7
likes
0
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

You can make calendar widget Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg, get

More

Packages that depend on moon_calendar