horizontal_calendar

Creator: coderz1093

Last updated:

Add to Cart

Description:

horizontal calendar

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

Installation #
In the dependencies: section of your pubspec.yaml, add the following line:
horizontal_calendar:1.1.2
copied to clipboard
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,
showMonth:true,
onDateSelected: (date) {
print(date.toString());
},
),
);
}
}
copied to clipboard
Example #
View the Flutter app in the example directory in the repository.
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.