scrollable_clean_calendar 0.1.1 copy "scrollable_clean_calendar: ^0.1.1" to clipboard
scrollable_clean_calendar: ^0.1.1 copied to clipboard

outdated

A clean widget calendar with vertical scroll

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:scrollable_clean_calendar/scrollable_clean_calendar.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Scrollable clean calendar',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('ScrollableCleanCalendar'),
        ),
        body: ScrollableCleanCalendar(
          onRangeSelected: (firstDate, secondDate) {
            print('onRangeSelected first $firstDate');
            print('onRangeSelected second $secondDate');
          },
          onTapDate: (date) {
            print('onTap $date');
          },
          locale: 'en', //default is en
          minDate: DateTime.now(),
          maxDate: DateTime.now().add(
            Duration(days: 365),
          ),
        ),
      ),
    );
  }
}
154
likes
0
pub points
94%
popularity

Publisher

unverified uploader

A clean widget calendar with vertical scroll

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, vertical_calendar

More

Packages that depend on scrollable_clean_calendar