scrolling_day_calendar 0.0.3 copy "scrolling_day_calendar: ^0.0.3" to clipboard
scrolling_day_calendar: ^0.0.3 copied to clipboard

outdated

A flutter calendar for scrolling a day date

scrolling_day_calendar #

A flutter calendar package for scrolling through given days as date for Android and IOS

Show some :heart and star the repo to support the project

Screenshots #

Usage #

To use the plugin:

dependencies:
  flutter:
    sdk: flutter

  scrolling_day_calendar: 0.0.1

  • import the package
import 'package:scrolling_day_calendar/scrolling_day_calendar.dart';

How to use #

// set the initial page value
Widget _pageItems = Text("Inital value");


// add to body
ScrollingDayCalendar(
          startDate: startDate, // Datetime object
          endDate: endDate, // Datetime object
          selectedDate: selectedDate, // Datetime object
          onDateChange: (direction, DateTime selectedDate) {
            setState(() {
              _pageItems = Text("No data"); // this will display on the new page
            });
          },
          dateStyle: TextStyle(
            fontWeight: FontWeight.bold,
            color: Colors.white,
          ),
          pageItems: _pageItems,
          dateFormat: "dd/MM/yyyy", // using the intl date format string
          dateBackgroundColor: Colors.grey,
          forwardIcon: Icons.arrow_forward,
          backwardIcon: Icons.arrow_back,
          pageChangeDuration: Duration(
            microseconds: 700,
          ),
        );
3
likes
20
pub points
14%
popularity

Publisher

unverified uploader

A flutter calendar for scrolling a day date

Homepage

License

unknown (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on scrolling_day_calendar