sunshine_events 0.1.0 copy "sunshine_events: ^0.1.0" to clipboard
sunshine_events: ^0.1.0 copied to clipboard

retracted[pending analysis]

Automated event documentation with screenshots for Flutter applications.

example/example.md

🧑‍💻 How to Use #

  1. In your app initialization, set up sunshine with the desired options:
SunshineAnalytics.setup(
  boardClient: miroBoardClient(
    boardId: "your_board_id",
    token: "your_api_token",
  ),
);
  1. To allow capturing screenshots you need to wrap the entire section you want to be tracked with a custom Sunshine widget.
runApp(
  MaterialApp(
    home: Sunshine(
      child: Home(),
    ),
  ),
);

example: main.dev.dart

  1. In your current centralized analytics logging, add sunshine logs:
class CurrentAnalyticsLogger {
  Future<void> logEvent(String name) {
    // current analytics logging.
    return SunshineAnalytics.log(name: name);
  }
}
0
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Automated event documentation with screenshots for Flutter applications.

Repository (GitHub)
View/report issues

License

(pending) (license)

Dependencies

flutter, http, http_parser, mutex, path_provider, screenshot

More

Packages that depend on sunshine_events