Search packages, repositories and app categories

GitHub repositorysanta112358/dynamic_height_grid_view

dynamic_height_grid_view

santa112358/dynamic_height_grid_view open-source repository details.

dynamic_height_grid_view project cover
Stars
14
Forks
12
Last push (UTC)
Sep 16, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

dynamic_height_grid_view

pub package License: MIT

GridView with dynamic height. No need to use aspectRatio.

Usage

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: DynamicHeightGridView(
        itemCount: 120,
        crossAxisCount: 3,
        crossAxisSpacing: 10,
        mainAxisSpacing: 10,
        builder: (ctx, index) {
          /// return your widget here.
        }
      ),
    );
  }
}
  • Use SliverDynamicHeightGridView for CustomScrollView
Santa Takahashi GitHub avatar
GitHub author

Santa Takahashi ↗

cat enthusiast

FreelanceTokyoOfficial website ↗
LanguagesDartHTMLSwiftKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^1.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗