achievement_view

Creator: coderz1093

Last updated:

Add to Cart

Description:

achievement view

AchievementView #
Beautiful toast to show Achievements in your application

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);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.