horizontalcalender 0.0.4 copy "horizontalcalender: ^0.0.4" to clipboard
horizontalcalender: ^0.0.4 copied to clipboard

Horizontal Calendar

example/example.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:horizontalcalender/horizontalcalendar.dart';

void main() {
  runApp(const ExampleClass());
}

class ExampleClass extends StatelessWidget {
  const ExampleClass({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final FixedExtentScrollController itemController =
        FixedExtentScrollController();
    return Container(
        height: 200,
        width: MediaQuery.of(context).size.width,
        padding: EdgeInsets.all(10.0),
        child: HorizontalCalendar(DateTime.now(),
            width: MediaQuery.of(context).size.width*.25,
            height: 120,
            selectionColor: Colors.red,
            itemController: itemController));
  }
}
6
likes
120
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

Horizontal Calendar

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

auto_size_text, flutter, intl

More

Packages that depend on horizontalcalender