BankDisclosure class

A single pre-signature disclosure rendered as an accordion panel in a BankDisclosureConsentSheet.

When required is true, the disclosure must be expanded (acknowledged) before the continue action is enabled. This encodes the regulatory expectation that certain terms have been surfaced to the applicant.

Annotations

Constructors

BankDisclosure({required String title, required String body, bool required = false, Widget? richBody})
Creates an immutable disclosure panel.
const

Properties

body String
Plain-text disclosure body. Ignored when richBody is provided.
final
hashCode int
The hash code for this object.
no setteroverride
required bool
When true, the applicant must expand this panel (acknowledge it) before continuing. Defaults to false.
final
richBody Widget?
Optional rich body widget (links, tables, imagery slots) rendered in place of body when set.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Accordion header text, e.g. 'Representative example'.
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.
override