silkfps 0.0.6 copy "silkfps: ^0.0.6" to clipboard
silkfps: ^0.0.6 copied to clipboard

Silk smooth FPS boost for Flutter. Auto-detects Vulkan/Skia on Android and Metal/ProMotion on iOS with real-time FPS monitoring, battery saver, and live FPS overlay.

0.0.6 #

  • iOS — EventChannel support added
    • Fixed MissingPluginException on iOS — silkfps/hz_stream was not implemented
    • SilkfpsPlugin.swift now implements FlutterStreamHandler
    • Sends current Hz immediately on stream subscribe
    • rendererStrategy and isHighRefreshRateSupported added to iOS getDeviceInfo

0.0.5 #

  • EventChannel — Real-time Hz stream added
    • silkfps/hz_stream EventChannel fires instantly when OS changes refresh rate
    • SilkFpsOverlay badge now shows ACTUAL real-time Hz — no hardcoding needed
    • Removed Timer polling — zero getCurrentRefreshRate spam in logs
    • Zero battery waste — event-driven, fires only on Hz change
  • SilkFpsOverlaysetHz now optional
    • setHz: null (default) → auto real-time Hz from device
    • setHz: 90 → manual override still supported
  • SilkfpsPlugin.kt — EventChannel stream handler added alongside DisplayListener

0.0.4 #

  • Android — API level strategy added
    • Minimum supported API: Android 11 (API 30)
    • Android 11-12L (API 30-32) → SKIA strategy
    • Android 13+ (API 33+) → IMPELLER strategy
    • Android 10 and below → skips silently, no crash
  • SilkDeviceInfo — new fields
    • rendererStrategy — "SKIA", "IMPELLER", "NOT_SUPPORTED", "Metal"
    • isHighRefreshRateSupported — true if Android 11+ or iOS
  • SilkFps — new getters
    • SilkFps.rendererStrategy
    • SilkFps.isHighRefreshRateSupported
  • initialize() — silently skips on unsupported devices

0.0.3 #

  • Android — DisplayManager.DisplayListener added
    • OS refresh rate change → instantly detected → immediately re-applied
    • Zero battery waste — event-driven, no polling loop
    • Works on all devices: 60Hz, 90Hz, 120Hz, 144Hz — auto-detected
  • Android 14+ (API 34)frameRateBoostOnTouchEnabled added

0.0.2 #

  • Android — Surface.setFrameRate() API added
    • preferredDisplayModeId + Surface.setFrameRate() + frameRateBoostOnTouchEnabled
  • build.gradle — Updated compileSdk and targetSdk to 36, jvmTarget to Java 17

0.0.1 #

  • Initial release
  • Android support — Vulkan auto-detect, high refresh rate
  • iOS support — Metal + ProMotion
  • Real-time FPS monitor stream
  • Live FPS overlay badge
  • Battery saver mode
  • Adaptive scroll mode
  • Lifecycle aware mode
  • Per-route FPS control
  • FPS analytics (avg, min, max, history)
  • SilkDeviceInfo model
  • One-line initialize API
0
likes
140
points
85
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Silk smooth FPS boost for Flutter. Auto-detects Vulkan/Skia on Android and Metal/ProMotion on iOS with real-time FPS monitoring, battery saver, and live FPS overlay.

Repository (GitHub)
View/report issues

Topics

#fps #refresh-rate #performance #vulkan #display

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on silkfps

Packages that implement silkfps