AchievementView class

Constructors

AchievementView(BuildContext _context, {double elevation = 2, GestureTapCallback? onTap, dynamic listener(AchievementState)?, OverlayState? overlay, bool isCircle = false, Widget icon = const Icon(Icons.insert_emoticon, color: Colors.white), AnimationTypeAchievement typeAnimationContent = AnimationTypeAchievement.fadeSlideToUp, BorderRadiusGeometry? borderRadius, BorderRadiusGeometry? iconBorderRadius, Color color = Colors.blueGrey, Color? iconBackgroundColor, TextStyle? textStyleTitle, TextStyle? textStyleSubTitle, AlignmentGeometry alignment = Alignment.topCenter, Duration duration = const Duration(seconds: 3), String title = "My Title", String subTitle = "My subtitle with max 1 line"})

Properties

alignment AlignmentGeometry
final
borderRadius BorderRadiusGeometry?
final
color Color
final
duration Duration
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
final
iconBackgroundColor Color?
final
iconBorderRadius BorderRadiusGeometry?
final
isCircle bool
final
listener → (dynamic Function(AchievementState)?)
final
onTap GestureTapCallback?
final
overlay OverlayState?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subTitle String
final
textStyleSubTitle TextStyle?
final
textStyleTitle TextStyle?
final
title String
final
typeAnimationContent AnimationTypeAchievement
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited