layout_pro 0.0.1 copy "layout_pro: ^0.0.1" to clipboard
layout_pro: ^0.0.1 copied to clipboard

A Package which help developers to create responsive ui.

Layout Pro #

A Flutter package that simplifies the creation of responsive GridView layouts.

Features #

  • Create responsive GridView layouts with ease.
  • Automatically adapts to different screen sizes.
  • Provides flexibility in configuring the number of items per row and aspect ratios.

Preview #

Preview GIF

Getting started #

To use this package in your Flutter project, follow these steps:

  1. Add the following dependency to your pubspec.yaml file:

    dependencies:
      responsive_grid_view_builder: ^0.0.1  # Use the latest version
    
  2. import 'package:layout_pro/responsive.dart';

For more detailed examples, check the /example folder in the package repository.

Additional Information #

  • For more information about this package and how to use it, visit the package documentation on pub.dev.
  • To report issues, suggest features, or contribute to the package, please visit the GitHub repository.
  • We welcome contributions from the community. Feel free to create pull requests or open issues.

If you have any questions or need further assistance, please don't hesitate to reach out to the package authors or the Flutter community.

Usage #

Here's a simple example of how to use the Responsive and GridViewBuilder classes to create a responsive grid:

     import 'package:flutter/material.dart';
     import 'package:responsive_grid_view_builder/responsive_grid_view_builder.dart';
     void main() {
       runApp(MyApp());
     }
     class MyApp extends StatelessWidget {
       @override
       Widget build(BuildContext context) {
         return MaterialApp(
           home: Scaffold(
             appBar: AppBar(
               title: Text('Responsive GridView Example'),
             ),
             body: Responsive(
               mobileCrossAxisCount: 2,
               mobileRatio: 1.5,
               itemCount: 10,
               builder: (context, index) {
                 return Container(
                   color: Colors.blue,
                   child: Center(
                     child: Text('Item $index'),
                   ),
                 );
               },
             ),
           ),
         );
       }
     }
6
likes
0
points
243
downloads

Publisher

verified publisherhamadanwar.me

Weekly Downloads

A Package which help developers to create responsive ui.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on layout_pro