g_simple_calendar 0.0.2 g_simple_calendar: ^0.0.2 copied to clipboard
Simple calendar widget.
g_simple_calendar #
Simple Calendar Widget
Getting Started #
For help getting started with Flutter, view our online documentation.
Props #
props | types | defaultValues |
---|---|---|
date | DateTime | |
selectedColor | Color | Colors.grey |
celdTextColor | Color | Colors.black |
titleStyle | TextStyle | TextStyle(color: Colors.black, fontSize: 18) |
celTextEmpty | String | X |
onRangeSelected | Function(List | null, get data selected days |
visibleTitle | bool | false |
blockedDays | List | null |
colorBlockedDays | Color | Colors.grey |
Install #
Add g_simple_calendar
as a dependency in pubspec.yaml For help on adding as a dependency, view the documentation.
Usage #
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: GSimpleCalendar(
date: DateTime.now(),
),
);
}