achievement_view 1.0.1 copy "achievement_view: ^1.0.1" to clipboard
achievement_view: ^1.0.1 copied to clipboard

Beautiful toast to show Achievements in your application in a simple way

pub package buymeacoffee

AchievementView #

Beautiful toast to show Achievements in your application

Usage of the achievement_view on an android device

Usage #

To use this plugin, add achieviment_view as a dependency in your pubspec.yaml file.

Example #

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

void showAchievementView(BuildContext context){
    AchievementView(
        title: "Yeaaah!",
        subTitle: "Training completed successfully",
        //content: Widget() 
        //onTab: _onTabAchievement,
        //icon: Icon(Icons.insert_emoticon, color: Colors.white,),
        //typeAnimationContent: AnimationTypeAchievement.fadeSlideToUp,
        //borderRadius: 5.0,
        //color: Colors.blueGrey,
        //textStyleTitle: TextStyle(),
        //textStyleSubTitle: TextStyle(),
        //alignment: Alignment.topCenter,
        //duration: Duration(seconds: 3),
        //isCircle: false,
        listener: (status){
          print(status);
          //AchievementState.opening
          //AchievementState.open
          //AchievementState.closing
          //AchievementState.closed
        }
    ).show(context);
  }
106
likes
150
points
143
downloads

Publisher

verified publisherrafaelbarbosatec.com

Weekly Downloads

Beautiful toast to show Achievements in your application in a simple way

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on achievement_view