holiday_id

pub package

Flutter package that contains the information of Indonesia's national holidays and days-off.

Installation

Add holiday_id dependency to your Flutter project:

dependencies:
  holiday_id: ^<latest-version>

Usage

Import the package in your Flutter file and call getHolidays method:

import 'package:holiday_id/holiday_id.dart';

void main() {
    var holidaysIn2025 = HolidayId().getHolidays(
        filterType: HolidayType.holiday,
        filterYear: 2025,
    );
}

Holiday Data

All data are taken directly from Indonesia government's (Kementerian Koordinator Bidang Pembangunan Manusia Dan Kebudayaan Republik Indonesia) official letters. The data includes:

  • Year 2025 (letter signed on 14 October 2024)
  • Year 2024 (letter signed on 26 February 2024)
  • Year 2023 (letter signed on 29 March 2023)

Issues

For issues, file directly in the repository.

Find this library useful? ❤️

Support it by joining stargazers for this repository. ⭐️
Also, follow me on GitHub for my next project! 🤩

License

Copyright 2024 hanmajid (Muhammad Farhan Majid)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Libraries

holiday_id
holiday_id library.