Skip to content
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

🛠️ [TASK] : Implement Widget for Dynamic Padding Adjustment #311

Closed
Tracked by #310
minikin opened this issue Mar 18, 2024 · 1 comment · Fixed by #324
Closed
Tracked by #310

🛠️ [TASK] : Implement Widget for Dynamic Padding Adjustment #311

minikin opened this issue Mar 18, 2024 · 1 comment · Fixed by #324
Assignees

Comments

@minikin
Copy link
Collaborator

minikin commented Mar 18, 2024

Description

Create a widget that adjusts responsive padding based on different screen sizes. It aims to provide a flexible way to apply padding to widgets according to the screen's size, enhancing the UI's adaptability across various devices.

Requirements

  • The widget should be a StatelessWidget.
  • It should accept different padding values for various screen sizes: large, medium and small, and an other fallback option.
  • The widget must require a child widget, which is the content to which the padding will be applied.
  • Usage examples for different scenarios should be provided in the documentation comments.

Use Case Examples

The widget should cater to different responsive layouts, providing custom padding based on the current screen size. It should support the following use cases:

  • Use small padding for compact screens.
  • Apply medium padding for medium-sized screens.
  • Utilize large padding for larger screens.
  • The other padding should be a fallback for any sizes not explicitly covered.

This widget will significantly improve our UI's responsiveness and overall user experience across different devices.

@minikin
Copy link
Collaborator Author

minikin commented Mar 18, 2024

FYI @coire1 @mike-mcnulty @BojanKocijan

@minikin minikin changed the title 🛠️ [TASK] : Develop New Flutter Widgets: ResponsivePadding 🛠️ [TASK] : Implement Widget for Dynamic Padding Adjustment Mar 18, 2024
@coire1 coire1 self-assigned this Mar 20, 2024
@coire1 coire1 moved this from New to 🏗 In progress in Catalyst Mar 20, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Catalyst Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants