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

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

example/lib/main.dart

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: Column(children: '人食電繁'.split('').map(wrap).toList())));
  }
}

// Wraps an animated kanji into a card with fixed height.
Widget wrap(String kanji) =>
    Card(child: SizedBox(height: 100, child: KanjiDrawingAnimation(kanji)));
15
likes
130
pub points
50%
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