g_simple_calendar 0.0.3+2 copy "g_simple_calendar: ^0.0.3+2" to clipboard
g_simple_calendar: ^0.0.3+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
customButtons List length = 0
onRangeSelected Function(List null, get data selected days
visibleTitle bool false

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) {
    
    var custom = List<GCustomButtonModel>();

    custom.add(GCustomButtonModel(
      number: 12,
      fillColor: Colors.yellow
    ));

    custom.add(GCustomButtonModel(
      number: 22,
      fillColor: Colors.blue,
      enable: false
    ));
    
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: GSimpleCalendar(
        date: DateTime.now(),
        customButtons: custom
      ),
    );
  }
[screenshot1]

About me #

80bits.com

80bits.blog

3
likes
20
points
10
downloads

Publisher

verified publisher80bits.com

Weekly Downloads

Simple calendar widget.

Homepage

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on g_simple_calendar