Closed adbonnin closed 3 years ago
Try using nodePosition
in TimelineTheme?
Check how it works here (Theme)
Great package !
Timeline.tileBuilder(theme: TimelineThemeData(connectorTheme: ConnectorThemeData(space: 51)))
Try using
nodePosition
in TimelineTheme?Check how it works here (Theme)
nodePosition works but it's the a percentage between 0 and 1. If the screen is too small then the oppositeContent width will shrink it's content. What I'm looking for is a fixed width for oppositeContent and the remaining width for the content.
Timeline.tileBuilder(theme: TimelineThemeData(connectorTheme: ConnectorThemeData(space: 51)))
Connector's space is the space between the content and the oppositeContent, it's not the width of the oppositeContent.
@adbonnin
I got it.
There is no option yet to provide the feature you are talking about.😢
Since it uses Flexible internally, I think it is necessary to explicitly limit the size of the opossite content.
ok thank you 😄
Hi,
I would like to align the nodes to the left in order to have a fixed size for the content and the remaining space for the opposite content. There is a property
nodeAlign
inTimelineTile
that used to compute the effective node position :This property can't be used in
TimelineTileBuilder
so please what is the simplest way to define thenodeAlign
?