Flutter Guideline: Platform — Use Platform checks. Description: Platform-specific code. Do: Platform.isIOS Platform.isAndroid. Don't: Same code for all platforms. Good Example: if (Platform.isIOS) {}. Bad Example: Hardcoded iOS behavior. Severity: Medium. Docs: .