timeline_editor 0.4.0-preview.2 timeline_editor: ^0.4.0-preview.2 copied to clipboard
A flutter wiidget to help you manage timelines like video timeline with tracks editable or not. with move, actions...
0.4.0-preview.2 #
Adding back current progress. Will be improved and customisable in the future
0.4.0-preview.1 #
First preview version of the rewrite for better performance and:
- Header for tracks
- custom icons and
Thanks: #
Huge thanks to @argorain and @ritheshSalyan
0.3.4 #
Fix #
- Fix too much logs (Issue 5)
Enhancements #
- You can now provide your custom time widget (Request 3):
TimelineEditor(
timeWidgetExtent: 100,
timeWidgetBuilder: (d, t) => Padding(
padding: const EdgeInsets.only(left: 8.0),
child: Text(
'${d.inSeconds}/${t.inSeconds}',
overflow: TextOverflow.ellipsis,
),
),
0.3.2 #
- Fix scroll will overflow sometimes
0.3.1 #
- Added helper to go from seconds double to Duration:
Duration durationFromSeconds(double seconds)
double durationToSeconds(Duration duration)
- Added possibility to customize timeline text theme and separator color:
class TimelineEditor extends StatefulWidget {
...
/// Timeline time text theme. By default we use Theme.of(context).textTheme.bodyText1
final TextTheme timelineTextStyle;
/// Color used by the time separator in the timeline.
/// By default we use Theme.of(context).brightness == Brightness.dark ? Colors.white60 : Colors.black87
final Color separatorColor;
...
}
0.2.2 #
- better time indicators
- height of track is not customizable
0.2.1 #
- fix scaling
0.2.0 #
Performance optimization
- position now takes a stream to rebuild as little as possible
- layout builder replaced by a cached version to avoid rebuilding too often
- you can now react to user clicking a time on the timeline ruler
0.1.0 #
- First release