Files that every Yako Flutter package uses.
The preview tiles in the More from Yako grid at the bottom of each package README. Each one is recorded from the package's real widget, so it shows exactly what the package does.
The READMEs load the tiles straight from this repo, so a new tile here shows up in every README at once.
tools/tile_studio renders each package's real widget in a headless Flutter
test, frame by frame, from the packages' GitHub sources. It needs macOS (it
uses the system San Francisco font for the iOS-style tiles), Flutter, ffmpeg
and img2webp (brew install ffmpeg webp).
tools/tile_studio/make_tiles.shThe scenes are in tools/tile_studio/test/tiles_test.dart. Tiles are 480×480:
GIFs, a PNG for the still one, and an animated WebP for yako_celebrations,
whose particles would make a GIF too big.
python3 tools/more_from_yako.py settings_ui path/to/flutter-settings-ui/README.mdIt writes the grid of every other package between the
<!-- more-from-yako:start --> and <!-- more-from-yako:end --> markers.
To add a package, add a tile and a row to PACKAGES in the script, then run
it for each README.