horizontal_calendar 1.0.0 copy "horizontal_calendar: ^1.0.0" to clipboard
horizontal_calendar: ^1.0.0 copied to clipboard

outdated

A flutter plugin to show horizontal view of calendar with date picker.

Horizontal Calendar #

A flutter plugin to show horizontal view of calendar with date picker

[calendar image]

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

horizontal_calendar:1.0.0

Usage #

import 'package:horizontal_calendar/horizontal_calendar.dart';

class MyHomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: HorizontalCalendar(
        date: DateTime.now(),
        textColor: Colors.black45,
        backgroundColor: Colors.white,
        selectedColor: Colors.blue,
        onDateSelected: (date) => print(
          date.toString(),
        ),
      ),
    );
  }
}

Example #

View the Flutter app in the example directory in the repository.
18
likes
0
points
902
downloads

Publisher

verified publisherbeetechsolution.com

Weekly Downloads

A flutter plugin to show horizontal view of calendar with date picker.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, nepali_utils

More

Packages that depend on horizontal_calendar