kanji_drawing_animation 0.5.0 copy "kanji_drawing_animation: ^0.5.0" to clipboard
kanji_drawing_animation: ^0.5.0 copied to clipboard

A widget that draws Kanji with the right stroke order based on KanjiVG.

kanji_drawing_animation #

pub package

A widget that draws Kanji with the right stroke order. The kanji stroke order data comes from https://github.com/KanjiVG/kanjivg.

Features #

  • Draws Kanji.
  • Customizable speed.
  • Works in both light and dark themes.

Basic usage #

import 'package:flutter/material.dart';
import 'package:kanji_drawing_animation/kanji_drawing_animation.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

 @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
            appBar: AppBar(title: const Text('Kanji Drawing Demo')),
            body: const Center(
                child: SizedBox(
                    height: 100,
                    child: KanjiDrawingAnimation('電', speed: 50)))));
  }
}
19
likes
130
pub points
51%
popularity

Publisher

verified publisherwafrat.com

A widget that draws Kanji with the right stroke order based on KanjiVG.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, svg_drawing_animation

More

Packages that depend on kanji_drawing_animation