chinese_calendar 0.0.2
chinese_calendar: ^0.0.2 copied to clipboard

带有农历的日历

chinese_calendar #

带有农历的日历

输入图片说明 输入图片说明 输入图片说明

Example #


class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Center(
        child: Container(
          child: CalendarView(
            initDateTime: DateTime.now(),
          ),
        ),
      ),
    );
  }
}