GitPedia

Zerker

Zerker is a lightweight and powerful flutter graphic animation library

From flutterkit·Updated June 14, 2026·View on GitHub·

Zerker is a flexible and lightweight flutter canvas graphic animation library. The project is written primarily in Dart, distributed under the MIT License license, first published in 2019. Key topics include: canvas, flutter, flutter-game, flutter-games, flutter-graphic.

Latest release: v2.7.2
January 18, 2024View Changelog →
<div align=center><img src="https://flutterkit.github.io/zerkerdocs/logo/logo.png"/></div> <br/> <div align=center> <a href="https://pub.dev/packages/zerker" target="_blank"><img src="https://img.shields.io/pub/v/zerker.svg" alt="pub package" /></a> <a href="https://flutter.dev/" target="_blank"><img src="https://img.shields.io/badge/Made%20with-Flutter-5fc9f8.svg" alt="Made-with-Flutter" /></a> <a href="https://dart.dev/" target="_blank"><img src="https://img.shields.io/badge/Made%20with-Dart-13589c.svg" alt="Made-with-Dart" /></a> </div>

What is Zerker

Zerker is a flexible and lightweight flutter canvas graphic animation library.

With Zerker, you can create a lot of seemingly cumbersome animation effects, such as animated animations, pop-up animations, scene transitions, icon effects, and more.

At 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.

➤ More detailed documentation about Zerker is here https://flutterkit.github.io/zerkerdocs/

An image

Installation

Add this to your package's pubspec.yaml file, And execute the commandflutter pub get:

yaml
dependencies: zerker: <latest_version_here>
More detailed installation steps, you can refer to here. https://pub.dev/packages/zerker/install

Getting started

Import the package

import 'package:zerker/zerker.dart';

Useage

Create a zerker widget

dart
class _MyHomePageState extends State<MyHomePage> { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: Center( child: Zerker(app: MyZKApp(), clip: true, interactive: true, width: 350, height: 350), )); } }

Create your Zerker class inherited from ZKApp

dart
class MyZKApp extends ZKApp { init() { super.init(); /// init zerker scene } update(int time) { super.update(time); sprite.position.x++; } }

Initialize the scene and create elements in the init function

dart
/// Create a zerker sprite ZKSprite bigboy = ZKSprite(key: "bigboy") ..animator.make("front", [0, 1, 2, 3, 4]) ..animator.make("left", ['5-9']) ..animator.make("after", ['10-14']) ..animator.make("right", ['15-19']) ..onTapDown = (event) { bigboy.animator.play("right", 8, true); }; stage.addChild(bigboy); /// Create a zerker text ZKText text = ZKText() ..setPosition(100, 100) ..text = "hello world" ..setStyle(color: Colors.blueGrey, backgroundColor: Colors.red[50]); stage.addChild(_text);

More cases

You can quickly start learning an example here. https://flutterkit.github.io/zerkerdocs/guide/tutorial.html

More zerker examples you can view here https://github.com/flutterkit/zerker-samples. If you have any questions about Zerker, please let me know by email, thank you very much!

img img img

License

Zerker is licensed under MIT license. View license. https://github.com/flutterkit/zerker/blob/master/LICENSE

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from flutterkit/zerker via the GitHub API.Last fetched: 6/24/2026