GTFBadgePosition class

Constructors

GTFBadgePosition({double? top, double? end, double? bottom, double? start, bool isCenter = false})
const
GTFBadgePosition.bottomEnd({double bottom = -2, double end = -2})
factory
GTFBadgePosition.bottomStart({double bottom = -2, double start = -2})
factory
GTFBadgePosition.center()
factory
GTFBadgePosition.custom({double? start, double? end, double? top, double? bottom, bool isCenter = false})
factory
GTFBadgePosition.topEnd({double top = -2, double end = -2})
factory
GTFBadgePosition.topStart({double top = -2, double start = -2})
factory

Properties

bottom double?
到父组件底部的距离
final
end double?
到父组件末端的距离
final
hashCode int
The hash code for this object.
no setterinherited
isCenter bool
徽章是否位于父组件的中心
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start double?
到父组件开始端的距离
final
top double?
到父组件顶部的距离
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