-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Widget Book with a sample widget supporting dark and light themes #3
Labels
feature
Add/Create new feature
Comments
esmaeil-ahmadipour
changed the title
Add a sample code of widget book
Integrate Widget Book with a sample widget supporting dark and light themes
Jan 3, 2025
PouriaMoradi021
pushed a commit
that referenced
this issue
Jan 3, 2025
- add `ButtonIconState` enum - add `customButtonWidgetUseCase` for `custom button` widget - add `CustomButtonWidget` - update `main` & add widget book required setup - add `main.directories` - comment `widget_test`
📊 Current Status:Progress: 100%
🛤️ Next Steps:
❓ Questions/Requests:
|
PouriaMoradi021
pushed a commit
that referenced
this issue
Jan 3, 2025
- add/create `SurfacePallet` - add/crete `OnSurfacePallet` - add/create `AppThemeData` - add/create `AppTheme` - add `fluent_ui` package to `pubspec.yaml` - add `ThemeAddon` to `WidgetBookApp` according to new themes - update `main.dart` file - add/create `InterTextStyles` according text styles that defined in Figma design - update `CustomButtonWidget` - add/create `AppScaffold` to show light & dark mode in output result
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
Feature Description
We aim to integrate Widget Book into the project with a simple sample widget that demonstrates the theme handling. The widget should be implemented with a basic design that supports both dark and light themes. The user should be able to test the widget's appearance under both theme modes.
Click to expand the scenario
Scenario: Testing Widget with Dark and Light Themes
Imagine a developer wants to verify the appearance of a widget across different themes. The developer opens Widget Book and navigates to the simple sample widget. They can switch between dark and light themes and observe the widget's behavior. The widget should adapt to both themes seamlessly.
Once the developer confirms that the widget looks appropriate in both modes, they can proceed with additional testing or modifications. Any issues with theme adaptation should be clearly visible for further refinement.
Design Reference
Figma Design: Link to Figma Design
(Include the relevant Figma design(s) that outline the desired user interface and interactions.)
Responsive Design:
Ensure the widget adapts smoothly to both light and dark themes, and all elements are visible and functional across various screen sizes and orientations.
The text was updated successfully, but these errors were encountered: