A powerful Flutter utility package for building responsive and adaptive UI layouts effortlessly.
- Responsive Utilities – Easily adapt UI to various screen sizes and orientations.
- Customizable Breakpoints – Define screen size breakpoints for mobile, tablet, and desktop views.
- Animated Transitions – Smooth layout transitions with built-in animations.
FlutterCommonStepper
– A stepper widget to guide users through step-based workflows.ResponsiveGridView
– A flexible grid layout that adjusts column count dynamically based on screen size.
Add flutter_common_utilities
to your pubspec.yaml
:
dependencies:
flutter_common_utilities: ^latest_version
Then, run:
flutter pub get
ResponsiveUtil
helps you create adaptive layouts that adjust based on the screen size.
ResponsiveUtil(
mobile: MobileView(),
tablet: TabletView(),
desktop: DesktopView(),
)
Use FlutterCommonStepper
for intuitive step-by-step navigation.
FlutterCommonStepper(
currentStep: 2,
totalSteps: 5,
onStepChange: (step) => print("Step: \$step"),
)
Create a dynamic grid that adapts to different screen sizes.
ResponsiveGridView(
itemCount: 10,
builder: (context, index) => GridItem(index),
)
Explore the example project to see these widgets in action:
cd example
flutter run
📢 Stay up to date – Star the repo and follow updates for the latest improvements! 🚀