SplitPaymentSummaryCard class
Self-contained expandable card displaying individual payment legs for a split transaction.
Fetches payment leg data from the backend itself via SummaryCardCubit,
so the consumer only provides identifiers and an optional navigation
callback. Renders each leg using SplitPaymentTransactionTile for visual
consistency with the reconciliation screen's Payment History.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SplitPaymentSummaryCard
Constructors
- SplitPaymentSummaryCard({Key? key, required String splitId, required String businessId, required String currencySymbol, OnLegTapCallback? onLegTap, LegDisplayPolicy displayPolicy = const LegDisplayPolicy(includeParent: false, includeFailed: false, includeCancelled: false, includePending: false), double borderRadius = 12, TextStyle? titleStyle})
-
const
Properties
- borderRadius → double
-
Border radius for the card. Defaults to 12.
final
- businessId → String
-
The business ID required by the payment state API.
final
- currencySymbol → String
-
Currency symbol to display (e.g. 'R').
final
- displayPolicy → LegDisplayPolicy
-
Display policy controlling which legs are shown.
Defaults to LegDisplayPolicy.mobileDefault.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onLegTap → OnLegTapCallback?
-
Optional callback invoked when a payment leg row is tapped.
When null, leg rows are not tappable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splitId → String
-
The split session correlation ID used to query the backend.
final
- titleStyle → TextStyle?
-
Optional override for the section heading text style.
When null, defaults to TextTheme.titleMedium (bold).
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited