Giter Site home page Giter Site logo

syncfusionexamples / update-blackout-dates-using-view-changed-call-back-flutter-event-calendar Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 3.58 MB

How to update blackout dates using onViewChanged callback in the Flutter event calendar (SfCalendar)

Kotlin 0.27% Swift 2.37% Objective-C 1.31% Dart 7.27% HTML 3.74% Java 1.06% CMake 38.26% C++ 42.82% C 2.92%
blackout-dates sfcalendar calendar flutter dart example widgets flutter-calendar calendar-widget viewchanged-callback

update-blackout-dates-using-view-changed-call-back-flutter-event-calendar's Introduction

How to update blackout dates using onViewChanged callback in the Flutter Calendar?

A quick-start example to update blackout dates using onViewChanged callback in the Flutter Calendar.

In the Flutter Event Calendar, you can update the blackoutDates by using onViewChanged callback of the calendar. Using this, You can disable the interaction for a certain date in the month view and timeline month view of the calendar.

You can obtain the days that are currently visible for the month using the onViewChanged function, and then add the desired dates to the _blackoutDateCollection variable and assign _blackoutDates to the calendar's blackoutdates property.

You can also refer our UG documentation to know more about blackoutDates.

Requirements to run the demo

How to run this application

To run this application, you need to first clone or download the ‘create a flutter maps widget in 10 minutes’ repository and open it in your preferred IDE. Then, build and run your project to view the output.

Further help

For more help, check the Syncfusion Flutter documentation, Flutter documentation.

update-blackout-dates-using-view-changed-call-back-flutter-event-calendar's People

Contributors

indumathi1195r avatar indumathir-1995 avatar jayaleshwari avatar muniappansubramanian avatar sarubala20 avatar vinothkumar-ganesan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

indumathi1195r

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.