horizontalcalender 0.0.2 copy "horizontalcalender: ^0.0.2" to clipboard
horizontalcalender: ^0.0.2 copied to clipboard

outdated

Horizontal Calendar

Flutter Horizontal Date Picker Library that provides a calendar as a horizontal scolling with center selection

## How To Use

Import the following package in your dart file

import 'package:horizontalcalender/horizontalcalender.dart';

Usage #

This version is breaking backwards compatibility

Use the DatePicker Widget

Column(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
      HorizontalCalendar(
        DateTime.now(),
        initialSelectedDate: DateTime.now(),
        selectionColor: Colors.black,
        selectedTextColor: Colors.white,
        onDateChange: (date) {
          // New date selected
          setState(() {
            _selectedValue = date;
          });
        },
      ),
    ],
)
Constructor:
HorizontalCalendar(
    this.startDate, {
    Key key,
    this.width,
    this.height,
    this.controller,
    this.monthTextStyle,
    this.dayTextStyle,
    this.dateTextStyle,
    this.selectedTextColor,
    this.selectionColor,
    this.deactivatedColor,
    this.initialSelectedDate,
    this.activeDates,
    this.inactiveDates,
    this.daysCount,
    this.onDateChange,
    this.locale = "en_US",
}) : super(key: key);
6
likes
0
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Horizontal Calendar

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

auto_size_text, flutter, intl

More

Packages that depend on horizontalcalender