timeline_editor 0.3.4

Flutter Android iOS web

A flutter wiidget to help you manage timelines like video timeline with tracks editable or not. with move, actions...

0.3.4 #

Fix #

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.3.0 #

  • We now use duration instead of seconds (Issue 1)

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
16
likes
110
pub points
53%
popularity

Publisher

jezequel.org

A flutter wiidget to help you manage timelines like video timeline with tracks editable or not. with move, actions...

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on timeline_editor