Skip to content

Commit

Permalink
chore: make frames public (#28)
Browse files Browse the repository at this point in the history
* chore: make frames public

* chore: version and changelog

* chore: remove settings from git
  • Loading branch information
omartinma committed Jan 12, 2023
1 parent 812ab54 commit b5efd03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.2.1]

* `Exporter` class exposes now `frames`.

## [0.2.0]

* `Exporter` class exposes now `exportGif` and `exportFrames`.
Expand Down
2 changes: 2 additions & 0 deletions lib/src/exporter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import 'package:screen_recorder/src/frame.dart';

class Exporter {
final List<Frame> _frames = [];
List<Frame> get frames => _frames;

void onNewFrame(Frame frame) {
_frames.add(frame);
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: screen_recorder
description: Record your Flutter widgets and export the recordings as a GIF
version: 0.2.0
version: 0.2.1
repository: https://github.com/ueman/screenrecorder
issue_tracker: https://github.com/ueman/screenrecorder/issues
funding:
Expand Down

0 comments on commit b5efd03

Please sign in to comment.