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( onPres...
Scanned 9/5/2026
Install to Claude Code
npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-mobile-ux-core --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Common Mobile Ux Core?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-mobile-ux-core-8fafdc2a)More formats (shields.io, HTML) on the badges page.
# 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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!