flexible_calendar_widget 1.0.0 copy "flexible_calendar_widget: ^1.0.0" to clipboard
flexible_calendar_widget: ^1.0.0 copied to clipboard

A customizable calendar widget for Flutter applications.

flutter_custom_calendar #

A customizable calendar widget for Flutter applications that allows users to select dates and navigate between months seamlessly, while providing full customization of appearance.

Features #

  • Customizable appearance: Change the background color, selected day color, and text color.
  • Date selection: Users can easily select a date by tapping on the desired day.
  • Month navigation: Navigate between months using intuitive back and forward buttons.
  • Responsive design: Adaptable to various screen sizes with a user-friendly layout.

Getting started #

  1. Add flutter_custom_calendar as a dependency in your pubspec.yaml file:

    dependencies:
      flutter_custom_calendar: ^1.0.0
    
  2. Install the package:

    flutter pub get
    
  3. Import the package in your Dart file:

    import 'package:flutter_custom_calendar/flutter_custom_calendar.dart';
    

Usage #

Here’s a simple example of how to use the CustomCalendar widget in your application:

  ```dart
  import 'package:flutter/material.dart';
  import 'package:flutter_custom_calendar/flutter_custom_calendar.dart';

   class MyApp extends StatelessWidget {
     @override
     Widget build(BuildContext context) {
       return MaterialApp(
         home: Scaffold(
           appBar: AppBar(
             title: Text('Custom Calendar Example'),
           ),
           body: Center(
             child: CustomCalendar(
               selectedDate: DateTime.now(),
               backgroundColor: Colors.white,
               selectedDayColor: Colors.orange,
               textColor: Colors.black,
               onDateSelected: (DateTime date) {
                 print('Selected date: $date');
               },
             ),
           ),
         ),
       );
     }
   }
   
   void main() {
     runApp(MyApp());
   }

Contributing #

Contributions are welcome! If you would like to contribute to the flutter_custom_calendar, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a Pull Request.
0
likes
30
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable calendar widget for Flutter applications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_svg, intl

More

Packages that depend on flexible_calendar_widget