flutter-mobile-development

Diagnose and fix Flutter navigation, WebView, Gradle build, and video embed issues.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/decniner/HermesP1 --skill flutter-mobile-development-decniner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flutter-mobile-development
Source: https://github.com/decniner/HermesP1/tree/main/.hermes-backup/skills/.archive/flutter-mobile-development
Command: npx skills add https://github.com/decniner/HermesP1 --skill flutter-mobile-development-decniner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Flutter mobile apps often fail silently: navigation buttons do nothing, WebView screens crash on launch, Gradle builds break after adding packages, and video embed sites refuse to load. This Skill provides concrete fixes for these recurring Flutter/Android pitfalls. ## Core Features & Use Cases - Navigation Debugging: Explains why GoRouter apps must use context.push() instead of Navigator.pushNamed(), which silently no-ops. - WebView & Build Fixes: Covers webview_flutter platform initialization, AGP 8.1.1+ requirements, AndroidX flags, and AndroidManifest queries for magnet: URIs. - Video Playback Strategy: Recommends Chrome Custom Tabs via url_launcher instead of WebView for embed sites, with per-source URL builders for vidsrc.to and 2embed.cc. - Use Case: When a Flutter streaming app's "Watch Now" button does nothing, identify the Navigator vs GoRouter mismatch and apply the correct routing API. ## Quick Start Ask the assistant to debug why my Flutter app's navigation button does nothing and fix the WebView crash on Android.

Frequently Asked Questions about flutter-mobile-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Flutter navigation button do nothing when tapped?▼

Flutter navigation silently fails when an app uses GoRouter via MaterialApp.router but the button calls Navigator.pushNamed(). GoRouter registers routes with its own Router, so Navigator calls no-op with no error. Replace them with context.push() or context.go().

How do I fix the webview_flutter platform implementation error on Android?▼

The webview_flutter platform error occurs because no platform implementation was registered. In main(), set WebViewPlatform.instance = AndroidWebViewPlatform() after WidgetsFlutterBinding.ensureInitialized(), and add the webview_flutter_android package to pubspec.yaml.

GoRouter vs Navigator in Flutter: which should I use?▼

Use GoRouter consistently if the app is built with MaterialApp.router; mixing it with the classic Navigator API causes silent navigation failures. Every file performing navigation should import go_router and call context.push(), context.go(), or context.replace().

Why do video embed sites not work in Android WebView?▼

Embed sites like vidsrc.to fail in Android WebView because they rely on intent:// redirects, cross-origin iframes, and popups, producing net::ERR_UNKNOWN_URL_SCHEME. The fix is opening them with url_launcher in LaunchMode.platformDefault, which uses Chrome Custom Tabs.

How do I fix the Gradle error requiring Android Gradle plugin 8.1.1?▼

The androidx.webkit dependency requires AGP 8.1.1 or higher. Update the com.android.application plugin version to 8.1.1 in android/settings.gradle, and ensure android.useAndroidX=true is set in gradle.properties.

Why does launching a magnet link do nothing on Android 11+?▼

Android 11+ package visibility rules block magnet: URI queries unless declared. Add a <queries> intent entry for the magnet scheme in AndroidManifest.xml, then launch with url_launcher using LaunchMode.externalApplication.