v0.0.4dynamic_height_grid_view
동적 높이를 가진 GridView입니다. 그리드에 aspectRatio를 지정할 필요가 없습니다.
113좋아요 6천30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
santa112358/dynamic_height_grid_view open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
GridView with dynamic height. No need to use aspectRatio.
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.
}
),
);
}
}
SliverDynamicHeightGridView for CustomScrollView의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗