stats_animation 1.0.3 copy "stats_animation: ^1.0.3" to clipboard
stats_animation: ^1.0.3 copied to clipboard

Display your stats with animation and design as you want thanks to many parameters

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Package Stats Animation',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Stats Animated'),
      ),
      body: Center(
          child: StatsAnimation(
        {
          'attaque': 90,
          'intelligence': 100,
          'vitesse': 60,
          'esquive': 10,
          'mental': 10,
          'souplesse': 60,
          'endurance': 100,
        },
      )),
    );
  }
}
3
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Display your stats with animation and design as you want thanks to many parameters

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on stats_animation