Flutter Widgets
ASecurity```dart import 'package:flutter/material.dart'; class OrdersEmptyState extends StatelessWidget { const OrdersEmptyState({super.key}); @override Widget build(BuildContext context) { final theme = Theme.of(context); return Center( child: Padding( padding: const EdgeInsets.all(24), child: Column( mainAxisSize: MainAxisSize.min, children: [ _EmptyStateIcon(color: theme.colorScheme.primary), const SizedBox(height: 12), Text( 'No orders yet', style: theme.textTheme.titleMedium, textAlign: TextAlign...
- 584 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 12 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill flutter-widgets --agent claude-codeAre you the author of Flutter Widgets?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-flutter-widgets-fe140ec8)```dart
import 'package:flutter/material.dart';
class OrdersEmptyState extends StatelessWidget {
const OrdersEmptyState({super.key});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Center(
child: Padding(
padding: const EdgeInsets.all(24),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
_EmptyStateIcon(color: theme.colorScheme.primary),
const SizedBox(height: 12),
Text(
'No orders yet',
style: theme.textTheme.titleMedium,
textAlign: TextAlign.center,
),
],
),
),
);
}
}
class _EmptyStateIcon extends StatelessWidget {
final Color color;
const _EmptyStateIcon({required this.color});
@override
Widget build(BuildContext context) {
return Icon(
Icons.receipt_long_outlined,
size: 48,
color: color,
);
}
}
```
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
- trigger-5.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.