FlenxPdfTable class

Tabela genérica de dados (preços, prazos, faixas etc.) — cabeçalho + linhas listradas. columnFlex controla a largura relativa de cada coluna (default: todas iguais); use um valor maior na 1ª coluna quando ela tiver texto mais longo (nome de região, por exemplo).

Inheritance

Constructors

FlenxPdfTable({String? eyebrow, required String title, String? subtitle, required List<String> columns, required List<List<String>> rows, List<int>? columnFlex, String? note, FlenxPdfTone tone = FlenxPdfTone.white})
const

Properties

columnFlex List<int>?
final
columns List<String>
final
eyebrow String?
final
hashCode int
The hash code for this object.
no setterinherited
note String?
Nota de rodapé abaixo da tabela (ex.: "+ R$ 3,00 por envio via Correios").
final
rows List<List<String>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
final
title String
final
tone FlenxPdfTone
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