flutter_common_utilities 0.1.14 copy "flutter_common_utilities: ^0.1.14" to clipboard
flutter_common_utilities: ^0.1.14 copied to clipboard

A Flutter utility package for common utils in Flutter App.

Flutter Common Utilities #

A powerful Flutter utility package for building responsive and adaptive UI layouts effortlessly.

🚀 Features #

  • 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.

📦 Installation #

Add flutter_common_utilities to your pubspec.yaml:

dependencies:
  flutter_common_utilities: ^latest_version

Then, run:

flutter pub get

🛠 Usage #

🏗 ResponsiveUtil #

ResponsiveUtil helps you create adaptive layouts that adjust based on the screen size.

ResponsiveUtil(
  mobile: MobileView(),
  tablet: TabletView(),
  desktop: DesktopView(),
)

🔄 FlutterCommonStepper #

Use FlutterCommonStepper for intuitive step-by-step navigation.

FlutterCommonStepper(
  currentStep: 2,
  totalSteps: 5,
  onStepChange: (step) => print("Step: \$step"),
)

📐 ResponsiveGridView #

Create a dynamic grid that adapts to different screen sizes.

ResponsiveGridView(
  itemCount: 10,
  builder: (context, index) => GridItem(index),
)

🎯 Example #

Explore the example project to see these widgets in action:

cd example
flutter run

📚 Additional Resources #


📢 Stay up to date – Star the repo and follow updates for the latest improvements! 🚀

3
likes
140
points
76
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter utility package for common utils in Flutter App.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_common_utilities