BadgeSpec class base

Annotations
  • @MixableSpec.new()

Constructors

BadgeSpec({BoxSpec? container, TextSpec? label, AnimatedData? animated})
const

Properties

animated → AnimatedData?
finalinherited
container → BoxSpec
final
hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
no setterinherited
label → TextSpec
final
modifiers → WidgetModifiersData?
finalinherited
props List<Object?>
The list of properties that constitute the state of this BadgeSpec.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
type Type
no setterinherited

Methods

copyWith({BoxSpec? container, TextSpec? label, AnimatedData? animated}) BadgeSpec
Creates a copy of this BadgeSpec but with the given fields replaced with the new values.
inherited
getDiff(EqualityMixin other) Map<String, String>
inherited
lerp(covariant BadgeSpec? other, double t) BadgeSpec
Linearly interpolates between this BadgeSpec and another BadgeSpec based on the given parameter t.
inherited
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

Constants

from → const BadgeSpec Function(MixData mix)
of → const BadgeSpec Function(BuildContext context)