dash_responsive_grid 0.0.2
dash_responsive_grid: ^0.0.2 copied to clipboard
Lightweight, dependency-free responsive grid for Flutter. Auto column count by screen width, a staggered masonry layout, and loading/empty/error states.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'home_page.dart';
void main() {
runApp(const ExampleApp());
}
class ExampleApp extends StatelessWidget {
const ExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'dash_responsive_grid example',
theme: ThemeData(colorSchemeSeed: Colors.indigo, useMaterial3: true),
home: const HomePage(),
);
}
}