Comments (6)
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.
I'll close this issue. if you have any other question, please re-open it or create a new one. thanks
from flutter-timeline.
@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?
from flutter-timeline.
@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.
@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.
@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)
- Indicator size must be dynamic by default
- How to reverse timeline ? HOT 3
- TimelineEventDisplay#forceLineDrawing doesn't work
- Can we have null-safety support? HOT 4
- How to make Dashed Line HOT 1
- Please add null-safety HOT 1
- Please add a null safety support HOT 4
- Line margin does not works as intended HOT 1
- Can your package work with a video_player to create the timeline?
- Flutter 3.10.0 Error: The getter 'accentColor' isn't defined for the class 'ThemeData'. HOT 4
- Possible to save events ? HOT 1
- support custom alt offset of line & points, make is as enum interface HOT 1
- itemGap bigger than 24 wont work.
- line disappears when scrolling
- separate event item as a standalone widget
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-timeline.