pageview_calendar 0.0.4
pageview_calendar: ^0.0.4 copied to clipboard

Optimized PageView Calendar

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: const EdgeInsets.symmetric(vertical: 10, horizontal: 0),
            child: PageViewDemo(),
          ),
        ),
      ),
    );
  }
}

class PageViewDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(child: PageViewCalendar());
  }
}