BankRepaymentScheduleView class
Vertical list of monthly repayment rows generated from an InstallmentPlan.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- BankRepaymentScheduleView
Constructors
- BankRepaymentScheduleView({required InstallmentPlan plan, Key? key, int? highlightMonthIndex, bool islamicFinanceMode = false, String monthHeaderLabel = 'Month', String interestHeaderLabel = 'Interest', String profitHeaderLabel = 'Profit', String paymentHeaderLabel = 'Payment', String monthTemplate = 'Month {n}', String totalLabel = 'Total repayable', Color? accentColor, Color? dividerColor, EdgeInsetsGeometry? headerPadding, EdgeInsetsGeometry? rowPadding, TextStyle? headerStyle, TextStyle? monthStyle, TextStyle? interestStyle, TextStyle? amountStyle, TextStyle? totalStyle})
-
const
Properties
- accentColor → Color?
-
Accent for the highlighted row tint and text. Defaults to the
theme primary.
final
- amountStyle → TextStyle?
-
Merged over the payment cell style (numeralSmall).
final
- dividerColor → Color?
-
Overrides the divider color. Defaults to the theme outline.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerPadding → EdgeInsetsGeometry?
-
Overrides the header row padding. Defaults to
EdgeInsets.symmetric(horizontal: space4, vertical: space2).final - headerStyle → TextStyle?
-
Merged over the column header style (labelSmall, variant color).
final
- highlightMonthIndex → int?
-
final
- interestHeaderLabel → String
-
Interest column header in conventional mode. Defaults to
'Interest'.final - interestStyle → TextStyle?
-
Merged over the interest cell style (bodySmall, variant color).
final
- islamicFinanceMode → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- monthHeaderLabel → String
-
Column header over the month numbers. Defaults to
'Month'.final - monthStyle → TextStyle?
-
Merged over the month cell style (bodyMedium).
final
- monthTemplate → String
-
Row label template;
{n}is the month number. Defaults to'Month {n}'.final - paymentHeaderLabel → String
-
Payment column header. Defaults to
'Payment'.final - plan → InstallmentPlan
-
final
- profitHeaderLabel → String
-
Interest column header in Islamic mode. Defaults to
'Profit'.final - rowPadding → EdgeInsetsGeometry?
-
Overrides the data and total row padding. Defaults to
EdgeInsets.symmetric(horizontal: space4, vertical: space3).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalLabel → String
-
Caption of the closing total row. Defaults to
'Total repayable'.final - totalStyle → TextStyle?
-
Merged over the total row styles (totalLabel and total amount).
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