t×tecexpressby TeKOcloud
DEv0.7.1
Data & views / FLUTTER

TxCard.

Interactive preview

Presentation card with a title, media, content and actions.

TxCard

ParameterTypeDefaultMeaning
titleString?nullView title.
subtitleString?nullAdditional subtitle.
imageUrlString?nullCard image URL.
imageAltString''Image alternative text.
headerWidget?nullCustom header.
mediaWidget?nullCustom media region.
childWidget?nullContent or target widget.
actionsList<Widget>const []Dialog or card actions.
footerWidget?nullCustom footer.
variantTxCardVariantTxCardVariant.outlinedCard appearance variant.
loadingboolfalseShows the loading state.
semanticLabelString?nullAccessible card name.
dart
import 'package:flutter/material.dart';
import 'package:tecexpress/tecexpress.dart';

Widget example() {

  return const TxCard(title: 'Project', subtitle: 'Active', child: Text('Hello'));
}