{"id":13830010,"url":"https://github.com/flutterkit/zerker","last_synced_at":"2025-10-23T06:52:13.791Z","repository":{"id":50586466,"uuid":"203757021","full_name":"flutterkit/zerker","owner":"flutterkit","description":"Zerker is a lightweight and powerful flutter graphic animation library","archived":false,"fork":false,"pushed_at":"2024-08-16T14:52:28.000Z","size":1230,"stargazers_count":681,"open_issues_count":2,"forks_count":62,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-08-17T14:35:48.052Z","etag":null,"topics":["canvas","flutter","flutter-game","flutter-games","flutter-graphic","fluttercanvas","fluttergame"],"latest_commit_sha":null,"homepage":"https://flutterkit.github.io/zerkerdocs/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flutterkit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-22T09:07:15.000Z","updated_at":"2024-08-17T12:04:09.000Z","dependencies_parsed_at":"2023-02-18T04:01:22.373Z","dependency_job_id":"dbf0feb8-496c-4b18-9423-a9f40a79cf81","html_url":"https://github.com/flutterkit/zerker","commit_stats":{"total_commits":70,"total_committers":3,"mean_commits":"23.333333333333332","dds":"0.41428571428571426","last_synced_commit":"0259f465c1da2405418e14fb6258f1fb23706045"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterkit%2Fzerker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterkit%2Fzerker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterkit%2Fzerker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterkit%2Fzerker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutterkit","download_url":"https://codeload.github.com/flutterkit/zerker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225533036,"owners_count":17484185,"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":["canvas","flutter","flutter-game","flutter-games","flutter-graphic","fluttercanvas","fluttergame"],"created_at":"2024-08-04T10:00:53.041Z","updated_at":"2025-10-23T06:52:13.786Z","avatar_url":"https://github.com/flutterkit.png","language":"Dart","readme":"\u003cdiv align=center\u003e\u003cimg src=\"https://flutterkit.github.io/zerkerdocs/logo/logo.png\"/\u003e\u003c/div\u003e\n\u003cbr/\u003e\n\n\u003cdiv align=center\u003e\n\u003ca href=\"https://pub.dev/packages/zerker\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/zerker.svg\" alt=\"pub package\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://flutter.dev/\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Made%20with-Flutter-5fc9f8.svg\" alt=\"Made-with-Flutter\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://dart.dev/\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Made%20with-Dart-13589c.svg\" alt=\"Made-with-Dart\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## What is Zerker\n\nZerker is a flexible and lightweight flutter canvas graphic animation library.\n\nWith `Zerker`, you can create a lot of seemingly cumbersome animation effects, such as animated animations, pop-up animations, scene transitions, icon effects, and more.\n\nAt the same time, you can create a lot of simple games with Zerker. Zerker contains elements such as sprites, scrolling backgrounds, and atlases, making it easy to create game worlds with them.\n\n#### ➤ More detailed documentation about Zerker is here [https://flutterkit.github.io/zerkerdocs/](https://flutterkit.github.io/zerkerdocs/)\n\n![An image](https://flutterkit.github.io/zerkerdocs/images/wallpaper/04.jpg)\n\n## Installation\n\nAdd this to your package's pubspec.yaml file, And execute the command`flutter pub get`:\n\n```yaml\ndependencies:\n  zerker: \u003clatest_version_here\u003e\n```\n\n###### More detailed installation steps, you can refer to here. [https://pub.dev/packages/zerker/install](https://pub.dev/packages/zerker/install)\n\n## Getting started\n\n### Import the package\n```\nimport 'package:zerker/zerker.dart';\n```\n\n### Useage\n\n#### Create a zerker widget\n\n```dart\nclass _MyHomePageState extends State\u003cMyHomePage\u003e {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n        appBar: AppBar(\n          title: Text(widget.title),\n        ),\n        body: Center(\n          child: Zerker(app: MyZKApp(), clip: true, interactive: true, width: 350, height: 350),\n        ));\n  }\n}\n```\n\n#### Create your Zerker class inherited from ZKApp\n\n```dart\nclass MyZKApp extends ZKApp {\n\n  @override\n  init() {\n    super.init();\n    /// init zerker scene\n  }\n\n  @override\n  update(int time) {\n    super.update(time);\n    sprite.position.x++;\n  }\n}\n```\n\n#### Initialize the scene and create elements in the `init function`\n\n```dart\n/// Create a zerker sprite\nZKSprite bigboy = ZKSprite(key: \"bigboy\")\n  ..animator.make(\"front\", [0, 1, 2, 3, 4])\n  ..animator.make(\"left\", ['5-9'])\n  ..animator.make(\"after\", ['10-14'])\n  ..animator.make(\"right\", ['15-19'])\n  ..onTapDown = (event) {\n    bigboy.animator.play(\"right\", 8, true);\n  };\nstage.addChild(bigboy);\n\n/// Create a zerker text\nZKText text = ZKText()\n  ..setPosition(100, 100)\n  ..text = \"hello world\"\n  ..setStyle(color: Colors.blueGrey, backgroundColor: Colors.red[50]);\nstage.addChild(_text);\n```\n\n## More cases\nYou can quickly start learning an example here. [https://flutterkit.github.io/zerkerdocs/guide/tutorial.html](https://flutterkit.github.io/zerkerdocs/guide/tutorial.html)\n\n![](https://flutterkit.github.io/zerkerdocs/images/example/example1.gif)\n\n#### More zerker examples you can view here [https://github.com/flutterkit/zerker-samples](https://github.com/flutterkit/zerker-samples). If you have any questions about Zerker, please let me know by email, thank you very much!\n\n![img](https://flutterkit.github.io/zerkerdocs/images/example/example3.gif) ![img](https://flutterkit.github.io/zerkerdocs/images/blank.png) ![img](https://flutterkit.github.io/zerkerdocs/images/example/example4.gif)\n\n## License\nZerker is licensed under MIT license. View license. [https://github.com/flutterkit/zerker/blob/master/LICENSE](https://github.com/flutterkit/zerker/blob/master/LICENSE)\n","funding_links":[],"categories":["Flutter","Engines"],"sub_categories":["Components","Game"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterkit%2Fzerker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterkit%2Fzerker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterkit%2Fzerker/lists"}