Skip to content

Commit 0363237

Browse files
ADFA-3857: fix Flutter Template plugin imagery (variant thumbnails + plugin icon) (#47)
* ADFA-3857: distinct per-variant thumbnails for Flutter templates All five Flutter template variants shipped the same placeholder thumb.png (a generic teal Material-app preview), so the New Project screen showed no indicator of the KIND of Flutter project. Replace each with a distinct 512x512 thumbnail: a Flutter-blue header (matching the existing card style) over the state-management logo — Flutter logo (Basic), bloc hexagon (BLoC), Dart bird (Provider), GetX mark (GetX), Riverpod peaks (Riverpod). Verified on device RFCT704HEAL: reinstalled the rebuilt .cgp, the plugin regenerated its .cgt templates, and the New Project grid now renders five distinct kind indicators. * ADFA-3857: replace PCF-derived plugin icons with Flutter icons The plugin's day/night icons (assets/icon_day.png, icon_night.png) were byte-identical copies of the pebble-custom-function-template-installer icons used as a model, so the Plugin Manager showed a pink 'PCF' badge for the Flutter Template plugin. Replace both with a Flutter-branded rounded-square icon (Flutter logo on the day off-white / night deep-blue-black background). Verified on device RFCT704HEAL: cleared the Glide icon cache + extracted app_plugin_icons, reinstalled, and the Plugin Manager now renders the Flutter logo (night variant) instead of the PCF badge. * ADFA-3857: add grey perimeter border to Flutter template thumbnails In light mode the thumbnails' white card bodies bled into the near-white New Project background, so only the blue header was visible. Add a neutral grey (#9AA0A6) perimeter stroke around each card so the edge reads against both the light and dark backgrounds, matching the framing of the built-in templates. Verified in light mode on device RFCT704HEAL. * ADFA-3857: bump Flutter Template max_ide_version to 26.51 The declared IDE-compatibility range topped out at 26.28, excluding the current stable release. Raise plugin.max_ide_version so the plugin advertises support for current and upcoming CoGo releases.
1 parent 4b4dbc5 commit 0363237

8 files changed

Lines changed: 1 addition & 1 deletion

File tree

flutter-template/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<meta-data
3333
android:name="plugin.max_ide_version"
34-
android:value="26.28" />
34+
android:value="26.51" />
3535

3636
<!--
3737
Available permissions (comma-separated):
-5.24 KB
Loading
-5.53 KB
Loading
9.51 KB
Loading
8.75 KB
Loading
42.3 KB
Loading
7.87 KB
Loading
10.5 KB
Loading

0 commit comments

Comments
 (0)