horizontal_weekly_calendar 1.2.5 copy "horizontal_weekly_calendar: ^1.2.5" to clipboard
horizontal_weekly_calendar: ^1.2.5 copied to clipboard

This is a simple horizontal weekly customizable calendar

β˜•οΈ Support My Work! #

Buy Me a Coffee


πŸš€ horizontal_weekly_calendar v1.2.5 β€” All-New Features! #

v1.2.5 is here! This update brings two powerful new calendar types:

  • TableWeeklyCalendar: A full table-style monthly calendar with week rows, focus dates, and custom header support.
  • EventCalendar: A professional event calendar view with time slots, event blocks, and full customization.

All previous styles (Standard, Outlined, Minimal, Elevated) are still available and improved! Now you can showcase and compare all calendar types in your app.


πŸ“… Horizontal Weekly Calendar #

🌟 Project Overview #

A feature-rich, highly customizable horizontal calendar widget for Flutter applications, designed to provide seamless date selection and beautiful UI experiences.

Note: This widget supports multiple display modes and offers smooth animations!

🎨 Visual Demonstration #

✨ Key Features #

  • 6 Built-in Styles
    • Standard
    • Outlined
    • Minimal
    • Elevated
    • TableWeeklyCalendar (NEW)
    • EventCalendar (NEW)
Style Preview
Standard Standard Style
Outlined Outlined Style
Minimal Minimal Style
Elevated Elevated Style
Table Calendar Table Style
Event Calendar Event Style
  • Flexible Date Selection
  • Month Navigation Controls
  • Fully Customizable Theming
  • Table & Event Views (NEW!)
  • Focus Dates, Custom Headers, and More!

πŸ†• What's New in 1.2.5 #

  • TableWeeklyCalendar: Display a full month in a table layout, highlight focus dates, and add custom headers.
  • EventCalendar: Show events in a time-grid, with custom event widgets and time slots.
  • Improved Example App: See all calendar types side-by-side for easy comparison.
  • Bug Fixes & Performance Improvements

πŸ”§ Installation #

Add to your pubspec.yaml:

dependencies:
  horizontal_weekly_calendar: ^1.2.5

πŸ’‘ Quick Start #

HorizontalWeeklyCalendar(
  initialDate: DateTime.now(),
  selectedDate: _selectedDate,
  onDateSelected: (date) => setState(() => _selectedDate = date),
)

πŸ›  Customization Options #

Style Configuration #

HorizontalCalendarStyle(
  activeDayColor: Colors.blue,
  dayIndicatorSize: 40,
  monthHeaderStyle: TextStyle(
    fontSize: 18,
    fontWeight: FontWeight.bold,
  ),
)

🌈 Theming Support #

The calendar adapts seamlessly to your app's theme:

Theme(
  data: ThemeData(
    colorScheme: ColorScheme.light(
      primary: Colors.purple,
      secondary: Colors.orange,
    ),
  ),
  child: HorizontalWeeklyCalendar(...),
)

πŸ“š API Reference #

Parameter Description Type Required
initialDate Starting display month DateTime βœ…
selectedDate Currently selected date DateTime βœ…
onDateSelected Date selection callback Function(DateTime) βœ…
calendarType Display style type HorizontalCalendarType ❌

🀝 Contributing #

Contributions are welcome! Please follow these steps:

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch
  3. πŸ’Ύ Commit your changes
  4. πŸ“€ Push to the branch
  5. πŸ”€ Open a Pull Request

πŸ“„ License #

MIT License - See LICENSE file for details.


Crafted with ❀️ by github.com/ahmedzaeem

27
likes
155
points
579
downloads

Publisher

unverified uploader

Weekly Downloads

This is a simple horizontal weekly customizable calendar

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on horizontal_weekly_calendar