flutter_event_calendar 0.0.1 copy "flutter_event_calendar: ^0.0.1" to clipboard
flutter_event_calendar: ^0.0.1 copied to clipboard

outdated

Gregorian and Jalali Event calendar for flutter

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // than having to individually change instances of widgets.
    return Scaffold(
      body: EventCalendar(
        events: [
          Event(
            title: 'Vue.js Event',
            description: 'Laracun Event in New York',
            dateTime: '2020-09-30 20:20',
          ),
        ],
      ),
    );
  }
}