Coder Social home page Coder Social logo

ebrahimmansur / auto_height_grid_view Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3kdeveloper/auto_height_grid_view

0.0 0.0 0.0 614 KB

This package provides a customizable, responsive grid view widget for building dynamic layouts with variable height items. It automatically adjusts the height of each grid item based on its content.

License: MIT License

auto_height_grid_view's Introduction

Bye ByeAspect Ratio, Welcome auto_height_grid_view ๐Ÿ˜Ž

Why auto_height_grid_view?

A Flutter package that automatically adjusts the height of grid tiles based on their content, making it easy to create dynamic and responsive grid layouts. It automatically adjusts the height of each grid item based on its content.

๐Ÿ’ก Overview

auto height grid view

๐Ÿ’ป Usage

To use this library in your code:

  • add a dependency in your pubspec.yaml :

    dependencies:
      auto_height_grid_view:
  • add import in your dart code:

    import 'package:auto_height_grid_view/auto_height_grid_view.dart';
    

main.dart

AutoHeightGridView(
itemCount: 10,
crossAxisCount: 2,
mainAxisSpacing: 10,
crossAxisSpacing: 10,
physics: const BouncingScrollPhysics(),
padding: const EdgeInsets.all(12),
shrinkWrap: true,
builder: (context, index) {
return Container(
width: double.infinity,
height: 150,
color: Colors.red,);
},
),

๐Ÿ—ž๏ธ Properties

The auto_height_grid_view includes the following properties.

Property Type
key: key
itemCount int
crossAxisCount int
crossAxisSpacing int
mainAxisSpacing int
rowCrossAxisAlignment CrossAxisAlignment
controller ScrollController
shrinkWrap bool
physics ScrollPhysics
padding EdgeInsets
builder Function(BuildContext, int)

๐Ÿ’ช๐Ÿป Contribution Guide

I would be happy to have your contributions ๐Ÿ’™

You are welcome to open a ticket on github if any problems arise. New ideas are always welcome.
If you fixed a bug or implemented a feature, please send a Pull Request.

๐Ÿ‘ฑ Maintainer

Kamran Khan

Copyright and License

Copyright ยฉ 2023 3kdveloper. Licensed under the MIT LICENSE.

auto_height_grid_view's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.