OudsTopAppBarActionBadge class

A badge in top app bar action

  • contentDescription: Content description of the badge, needed for accessibility support.
  • count: Optional integer to display as badge count.

Example usage:

OudsTopAppBarActionBadge(
      contentDescription: 'Unread messages',
      count: 5,
);

Constructors

OudsTopAppBarActionBadge({required String contentDescription, String? count})
const

Properties

contentDescription String
final
count String?
final
hasCount bool
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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