PrintRenderWidget class
Widget auxiliar para renderização e impressão de um widget específico.
O PrintRenderWidget permite exibir um widget na tela e gerar uma imagem
renderizada dele para impressão usando o PagseguroSmart
.
Parâmetros:
pagseguroSmart
: Instância dePagseguroSmart
para gerenciar a impressão.child
: O widget a ser renderizado e impresso.
Métodos
- print: Método estático que navega para a página de impressão, renderizando o widget fornecido.
Constructors
- PrintRenderWidget.new({required PagseguroSmart pagseguroSmart, required Widget child})
Properties
- child → Widget
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pagseguroSmart → PagseguroSmart
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
print(
BuildContext context, {required PagseguroSmart pagseguroSmartInstance, required Widget child}) → void - Método estático para iniciar o processo de impressão.