docs(example): Guide tutorial + Showcase hub + nav reorg + borderless card - #11
Merged
Merged
Conversation
Widget Gallery — CofluiCard section now demos:
- Default (border + shadow)
- Borderless (borderless: true — flat, embeddable)
- Gradient (gradient: CofluiGradients.accent)
New 'Icons' nav tab — searchable catalog of the 111 Material icon names
supported by IconResolver. Tap any icon card → copies a ready-to-paste
JSON snippet ('{"type":"icon","props":{"icon":"<name>"}}')
to the clipboard. Paste into Playground to render instantly.
Navigation reorganized from 9 scattered tabs → 6 logical tabs by learning path: 1. Guide (NEW) — tutorials, JSON conventions, clone patterns 2. Gallery — native widget showcase (incl. borderless/gradient card demos) 3. Showcase (NEW) — hub for dynamic-UI demos (Detail/Components/Form/Dashboard) with internal TabBar 4. Playground — live JSON → UI editor 5. Icons — searchable catalog (tap to copy) 6. Reference — JSON schema reference Guide screen: 7 sections with copy-paste code blocks covering native widgets, dynamic UI, component types, props vs style convention, list/repeat, icons (any source), and clone-ready detail page pattern. Playground 'Halaman Detail' template + detail_page_json now use props.borderless: true (fixes the gotcha where borderless was placed at component top-level instead of inside props).
|
🌐 Preview deployed: https://22b84331.coflui.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three improvements to the example app: complete tutorial, cleaner navigation, and borderless card demos.
🧭 Navigation Reorg: 9 tabs → 6 logical tabs
New tab order follows the learning path:
📖 Guide Screen (NEW)
7-section tutorial with copy-paste code blocks (tap to copy):
🎨 Borderless Card Demos
props.borderless: true(correct convention)✅ Quality
dart analyze example/lib= 0 errors / 0 warnings (16 info-level const hints)