Flutter Guideline: Platform — Use kIsWeb for web. Description: Web platform detection. Do: kIsWeb for web checks. Don't: Platform for web. Good Example: if (kIsWeb) {}. Bad Example: Platform.isWeb (doesn't exist). Severity: Medium. Docs: .