GFBadgePosition class
GFBadgePosition is used to position the badges to top start, top bottom, bottom start or bottom end of the icon button See GFIconBadge
Constructors
- GFBadgePosition({double? top, double? end, double? bottom, double? start})
-
const
- GFBadgePosition.bottomEnd({double bottom = -8, double end = -10})
-
factory
- GFBadgePosition.bottomStart({double bottom = -8, double start = -10})
-
factory
- GFBadgePosition.topEnd({double top = -8, double end = -10})
-
factory
- GFBadgePosition.topStart({double top = -5, double start = -10})
-
factory
Properties
- bottom → double?
-
defines the position of badge
final
- end → double?
-
defines the position of badge
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → double?
-
defines the position of badge
final
- top → double?
-
defines the position of badge
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited