BuildWithYear typedef

BuildWithYear = Widget Function(BuildContext context, double width, double height, int year)

构建年相关控件
context - 上下文
month - 所在月份

Implementation

typedef BuildWithYear = Widget Function(
    BuildContext context, double width, double height, int year);