Coder Social home page Coder Social logo

Comments (6)

softmarshmallow avatar softmarshmallow commented on August 11, 2024

quick answer:
if you are trying to visualize time gap, you can set itemgap to zero, and give TimelineEvent#content's padding by the size by interval you want.

also, problem that your having is not quite general. which means it might not be right to implement in the package itself.
if you suggest any references (screen, mockup, or service) i'de be glad to implement it as in-the-box. (if it is general problem)

p.s other solution: // or since timeline view is internally just a listview, you can pass seperator builder to it, having different sized diver by the time interval.

from flutter-timeline.

softmarshmallow avatar softmarshmallow commented on August 11, 2024

I'll close this issue. if you have any other question, please re-open it or create a new one. thanks

from flutter-timeline.

bbrosius avatar bbrosius commented on August 11, 2024

@softmarshmallow Thanks for the help. I was able to get this largely working using a separator builder. I noticed two things not sure if they're bugs or not. When I start supplying a separator builder for some reason the line starts drawing on top of the first indicator dot instead of underneath it. If I comment out the separator builder it worked as normal. Also when using the separator builder the lines are broken as they don't seem to take all of the space of the separator. I've attached a screenshot. I plan to continue to play around if I figure out a fix would you be interested in a pull request?

Simulator Screen Shot - iPhone SE (2nd generation) - 2020-09-09 at 15 39 14

from flutter-timeline.

softmarshmallow avatar softmarshmallow commented on August 11, 2024

@bbrosius sure i’de be happy to.
seperator builder might be a bug, since adding a padding to each item instead using seperator builder will work.

however, again, Id’e be happy to take your PR and add as contributor

Ill take a look on this issue in this weekend

from flutter-timeline.

softmarshmallow avatar softmarshmallow commented on August 11, 2024

@bbrosius haven't heard you for a while. would it be ok to close this issue? or shall i wait for the PR

from flutter-timeline.

bbrosius avatar bbrosius commented on August 11, 2024

@softmarshmallow Sorry didn't manage to get to it last week. I still plan to submit a PR but we can close this issue.

from flutter-timeline.

Related Issues (16)

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.