Coder Social home page Coder Social logo

Using agenda only about timetable HOT 4 OPEN

jonaswanke avatar jonaswanke commented on July 26, 2024
Using agenda only

from timetable.

Comments (4)

JonasWanke avatar JonasWanke commented on July 26, 2024

It's possible to use TimetableContent as a standalone widget. I was planning to expose that class and provide an example of its usage but didn't have the time to do that yet, hence you'll have to use an implementation import (import 'package:timetable/src/content/timetable_content.dart'; instead of just import 'package:timetable/timetable';).

You can change the displayed dates via TimetableController.animateTo and TimetableController.visibleRange, and modify the theme by wrapping TimetableContent in a TimetableTheme widget.

Disabling horizontal scrolling is not yet supported, but that should be possible when #25 is implemented by limiting the range to currently visible dates.

from timetable.

CripyIce avatar CripyIce commented on July 26, 2024

Thanks for the reply and suggesting wrapping the widget with TimetableTheme.
But, when using TimetableTheme I've set minimumHourHeight to 100.0 and maximumHourHeight to 150.0 and I can see this change only when starting to scroll the widget.
Any ideas on how to fix that?

from timetable.

JonasWanke avatar JonasWanke commented on July 26, 2024

@CripyIce That seems to be a bug which is now tracked in #40

from timetable.

CripyIce avatar CripyIce commented on July 26, 2024

@JonasWanke Looking forward for the next update!

from timetable.

Related Issues (20)

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.