You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrading from 0.6
Picked files are read by their owner (#99, #102, #105): PickedFile::read_all is gone. A picked path is read with app.platform().files() (files.read(&path)); a picked handle or stream reads itself (handle.read_all()).
ColorScheme colours are methods (#106): scheme.primary(), with Flutter's fallbacks inside.
A bare WidgetsApp with home or routes needs a page route builder, as Flutter's does (#110); FluentApp, MaterialApp and CupertinoApp bring their own.
Padding and margins take EdgeInsets directly (#106); GridView constructors take padding.
New
File and HTTP IO as platform services (#99, #102, #105): Platform::files() and Platform::http() (the http crate's request and response, streaming bodies, WASI 0.3's three timeouts and error list), Apple's over NSURLSession, the web's over fetch; NetworkImage and FileImage with progress.
FluentApp and FluentPageRoute (#110, #111): Fluent's theme, light, dark or the system's, the icon font, WinUI's page entrance and the covered page's fade, and Fluent's text, selection and scroll defaults.
The selection areas (#100): SelectableRegion, Material's SelectionArea, selection across text, lists and cards.
Timer::periodic and delayed, catching up after a stall as Dart's VM does (#106, #110).
File dialogs close when their future is dropped (#101).
use waft::* reaches the types widgets take (#106, #109); LayoutBuilder goes wherever a widget goes; Ref and Entity say what each is for.