TUISelectionCardStyle class

TUISelectionCardStyle widget can be used to display a selection of items.

Example:

TUISelectionCard(
  style: TUISelectionCardStyle(
    title: "Title",
    description: ["Description 1", "Description 2"],
    footer: "Footer",
  ),
  isSelected: true,
  showChevron: true,
  icon: FluentIcons.guest_24_regular,
  badgeCount: 1,
  badgeColor: Colors.red,
  isHovered: true,
  action: () {
    print("Card clicked");
  },
)

Constructors

TUISelectionCardStyle({required String title, List<String>? description, String footer = ""})

Properties

description List<String>?
final
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
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