Common Mobile Ux Core
ASecurityHere is a compact Flutter-style pattern for an inset-safe form with accessible controls and keyboard-aware scrolling: ```dart Scaffold( body: SafeArea( child: SingleChildScrollView( padding: const EdgeInsets.all(16), child: Column( children: [ TextField( keyboardType: TextInputType.emailAddress, textInputAction: TextInputAction.next, decoration: const InputDecoration(labelText: 'Email'), ), const SizedBox(height: 16), SizedBox( width: double.infinity, height: 48, child: ElevatedButton( onPres...
- 584 stars
- 0 votes
- 1 copy
- 3 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 common-mobile-ux-core --agent claude-codeAre you the author of Common Mobile Ux Core?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-mobile-ux-core-8fafdc2a)# Common Mobile UX Core: Quick Start
Here is a compact Flutter-style pattern for an inset-safe form with accessible controls and keyboard-aware scrolling:
```dart
Scaffold(
body: SafeArea(
child: SingleChildScrollView(
padding: const EdgeInsets.all(16),
child: Column(
children: [
TextField(
keyboardType: TextInputType.emailAddress,
textInputAction: TextInputAction.next,
decoration: const InputDecoration(labelText: 'Email'),
),
const SizedBox(height: 16),
SizedBox(
width: double.infinity,
height: 48,
child: ElevatedButton(
onPressed: submit,
child: const Text('Continue'),
),
),
const SizedBox(height: 16),
],
),
),
),
);
```
Why this is a good baseline:
- `SafeArea` prevents content from colliding with system UI.
- `SingleChildScrollView` lets the form move above the keyboard; in a larger form, ensure the focused field is explicitly scrolled into view if needed.
- The button is 48 dp high, meeting the Android minimum and providing a comfortable touch target.
- The email keyboard and `next` action are configured for the field’s purpose.
- Body text should remain at least 16 sp with comfortable line height, and the screen should be tested with large accessibility text.
For an icon-only action, keep the icon visually small if desired but wrap it in an `IconButton` or equivalent hit area with at least 44 pt/48 dp, and use a pressed state plus optional brief haptic feedback.
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.