FlutterIsland class
Embute um app Flutter (deferido) como ilha interativa em 100% da viewport,
acompanhando o resize (sem F5). Toda a plumbing (medir viewport, debounce,
remontar por key, constraints finitos) fica aqui na lib — o app só passa
o loadLibrary (do @Import.onWeb ... deferred) e o builder.
- Inheritance
-
- Object
- Component
- StatefulComponent
- FlutterIsland
Constructors
-
FlutterIsland({required Future<
void> loadLibrary, required dynamic builder(), Duration debounce = const Duration(milliseconds: 200), Key? key}) -
const
Properties
- builder → dynamic Function()
-
Constrói o widget Flutter raiz (ex.:
() => app.MeuAdmin()). Tipado comodynamicde propósito: assim a lib NÃO importapackage:flutter(o que puxariadart:ui/FFI e quebraria a compilação do servidor).final - debounce → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
-
loadLibrary
→ Future<
void> -
Futurede<deferred>.loadLibrary().final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → Element -
Creates a StatefulElement to manage this component's location in the tree.
inherited
-
createState(
) → State< FlutterIsland> -
Creates the mutable state for this component at a given location in the tree.
override
-
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