29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
# Flutter Cross-Platform Example
|
|
|
|
Demonstrates Agent Guardrails integration with Flutter for cross-platform game/app development.
|
|
|
|
## Features
|
|
- Ethical widget wrappers with dark pattern prevention
|
|
- Accessibility-first component patterns (WCAG 3.0+)
|
|
- Guardrail configuration for AI-generated Flutter code
|
|
- Cross-platform compliance helpers
|
|
|
|
## Quick Start
|
|
```bash
|
|
flutter create my_app
|
|
# Copy guardrail files into lib/guardrails/
|
|
```
|
|
|
|
## Files
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `guardrail_config.dart` | Central guardrail configuration and risk-level enforcement |
|
|
| `ethical_widget.dart` | Widget wrappers that prevent dark patterns |
|
|
| `accessibility_wrapper.dart` | Accessibility enforcement for all generated widgets |
|
|
|
|
## Related Documents
|
|
- [AI_ASSISTED_DEV.md](../../../docs/ai-dev/AI_ASSISTED_DEV.md) — AI development patterns
|
|
- [ETHICAL_ENGAGEMENT.md](../../../docs/ethical/ETHICAL_ENGAGEMENT.md) — Dark pattern prevention
|
|
- [ACCESSIBILITY_GUIDE.md](../../../docs/accessibility/ACCESSIBILITY_GUIDE.md) — WCAG 3.0+ guide
|
|
- [CROSS_PLATFORM_DEPLOYMENT.md](../../../docs/deployment/CROSS_PLATFORM_DEPLOYMENT.md) — Platform compliance
|