{"id":13683975,"url":"https://github.com/halildurmus/siri_wave","last_synced_at":"2025-04-07T14:12:42.164Z","repository":{"id":51002405,"uuid":"418893287","full_name":"halildurmus/siri_wave","owner":"halildurmus","description":"Create beautiful waveforms like in Siri.","archived":false,"fork":false,"pushed_at":"2025-02-20T10:50:39.000Z","size":11011,"stargazers_count":68,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T13:16:23.267Z","etag":null,"topics":["android","animation","apple","canvas","dart","flutter","ios","siri","siriwave","waveform"],"latest_commit_sha":null,"homepage":"https://halildurmus.github.io/siri_wave/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halildurmus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"halildurmus"}},"created_at":"2021-10-19T11:24:41.000Z","updated_at":"2025-03-26T23:05:32.000Z","dependencies_parsed_at":"2024-01-13T00:44:53.785Z","dependency_job_id":"ab507d00-be2c-4d95-8e1f-de27b5de1e40","html_url":"https://github.com/halildurmus/siri_wave","commit_stats":{"total_commits":158,"total_committers":3,"mean_commits":"52.666666666666664","dds":"0.10126582278481011","last_synced_commit":"2ee38573f6adf92dd60ef54c136d9f6180e1be10"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Fsiri_wave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Fsiri_wave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Fsiri_wave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Fsiri_wave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halildurmus","download_url":"https://codeload.github.com/halildurmus/siri_wave/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666014,"owners_count":20975788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","animation","apple","canvas","dart","flutter","ios","siri","siriwave","waveform"],"created_at":"2024-08-02T14:00:21.876Z","updated_at":"2025-04-07T14:12:42.141Z","avatar_url":"https://github.com/halildurmus.png","language":"Dart","funding_links":["https://github.com/sponsors/halildurmus"],"categories":["Dart"],"sub_categories":[],"readme":"[![ci][ci_badge]][ci_link]\n[![Package: siri_wave][package_badge]][package_link]\n[![Publisher: halildurmus.dev][publisher_badge]][publisher_link]\n[![Language: Dart][language_badge]][language_link]\n[![Platform: Flutter][platform_badge]][platform_link]\n[![License: BSD-3-Clause][license_badge]][license_link]\n\nCreate visually stunning waveforms similar to those found in *Siri*.\nIt was inspired from the [siriwave][siriwave_link] library.\n\n## Demo\n\nCheck out the live demo [here][demo_link].\n\n## iOS 7 Siri-style waveform GIF\n\n[![iOS 7 Siri-style waveform][ios_7_gif_link]][demo_link]\n\n## iOS 9 Siri-style waveform GIF\n\n[![iOS 9 Siri-style waveform][ios_9_gif_link]][demo_link]\n\n## Usage\n\n### iOS 7 Siri-style waveform\n\nTo create an *iOS 7 Siri-style* waveform, use the `SiriWaveform.ios7()`\nconstructor:\n\n```dart\nimport 'package:siri_wave/siri_wave.dart';\n\nclass MyWidget extends StatelessWidget {\n  MyWidget({super.key});\n\n  Widget build(BuildContext context) =\u003e SiriWaveform.ios7();\n}\n```\n\nYou can customize the waveform by passing a `controller` and/or `options`:\n\n```dart\nclass MyWidget extends StatelessWidget {\n  MyWidget({super.key});\n\n  final controller = IOS7SiriWaveformController(\n    amplitude: 0.5,\n    color: Colors.red,\n    frequency: 4,\n    speed: 0.15,\n  );\n\n  @override\n  Widget build(BuildContext context) =\u003e SiriWaveform.ios7(\n        controller: controller,\n        options: const IOS7SiriWaveformOptions(height: 200, width: 400),\n      );\n}\n```\n\nYou can also change the properties of the waveform later:\n\n```dart\n  controller.amplitude = 0.3;\n  controller.color = Colors.white;\n```\n\n### iOS 9 Siri-style waveform\n\nTo create an *iOS 9 Siri-style* waveform, use the `SiriWaveform.ios9()`\nconstructor:\n\n```dart\nimport 'package:siri_wave/siri_wave.dart';\n\nclass MyWidget extends StatelessWidget {\n  MyWidget({super.key});\n\n  Widget build(BuildContext context) =\u003e SiriWaveform.ios9();\n}\n```\n\nAs with the *iOS 7 Siri-style* waveform, you can customize the waveform by\npassing a `controller` and/or `options`:\n\n```dart\nclass MyWidget extends StatelessWidget {\n  MyWidget({super.key});\n\n  final controller = IOS9SiriWaveformController(\n    amplitude: 0.5,\n    color1: Colors.red,\n    color2: Colors.green,\n    color3: Colors.blue,\n    speed: 0.15,\n  );\n\n  @override\n  Widget build(BuildContext context) =\u003e SiriWaveform.ios9(\n        controller: controller,\n        options: const IOS9SiriWaveformOptions(height: 200, width: 400),\n      );\n}\n```\n\nFor a complete sample application, please checkout the [example][example_link].\n\nTo learn more, see the [API Documentation][api_documentation_link].\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome.\nFeel free to check the [issue tracker][issue_tracker_link] if you want to\ncontribute.\n\n[api_documentation_link]: https://pub.dev/documentation/siri_wave/latest/\n[ci_badge]: https://github.com/halildurmus/siri_wave/actions/workflows/siri_wave.yml/badge.svg\n[ci_link]: https://github.com/halildurmus/siri_wave/actions/workflows/siri_wave.yml\n[demo_link]: https://halildurmus.github.io/siri_wave\n[example_link]: https://github.com/halildurmus/siri_wave/blob/main/example/lib/main.dart\n[ios_7_gif_link]: https://raw.githubusercontent.com/halildurmus/siri_wave/main/gifs/ios_7.gif\n[ios_9_gif_link]: https://raw.githubusercontent.com/halildurmus/siri_wave/main/gifs/ios_9.gif\n[issue_tracker_link]: https://github.com/halildurmus/siri_wave/issues\n[language_badge]: https://img.shields.io/badge/language-Dart-blue.svg\n[language_link]: https://dart.dev\n[license_badge]: https://img.shields.io/github/license/halildurmus/siri_wave?color=blue\n[license_link]: https://opensource.org/licenses/BSD-3-Clause\n[package_badge]: https://img.shields.io/pub/v/siri_wave.svg\n[package_link]: https://pub.dev/packages/siri_wave\n[platform_badge]: https://img.shields.io/badge/platform-Flutter-02569B?logo=flutter\n[platform_link]: https://flutter.dev\n[publisher_badge]: https://img.shields.io/pub/publisher/siri_wave.svg\n[publisher_link]: https://pub.dev/publishers/halildurmus.dev\n[siriwave_link]: https://github.com/kopiro/siriwave\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalildurmus%2Fsiri_wave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalildurmus%2Fsiri_wave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalildurmus%2Fsiri_wave/lists"}