flutterzilla_fixed_grid 0.0.1 flutterzilla_fixed_grid: ^0.0.1 copied to clipboard
Flutter gridview changes the ratio of it's container based on the screen sizes. So, in small screen your gridview may look fine but in bigger screen it may look bad or vice versa. This package lets yo [...]
FlutterZilla Fixed Sized Grid #
Flutter gridview changes the ratio of it's container based on the screen sizes. So, in small screen your gridview may look fine but in bigger screen it may look bad or vice versa. This package lets you use a fixed height for your gridview.
Installation #
- Add the latest version of package to your pubspec.yaml (and run
flutter pub get
):
dependencies:
flutterzilla_fixed_grid: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:flutterzilla_fixed_grid/flutterzilla_fixed_grid.dart';
Example #
There are a number of properties that you can modify:
- height
- crossAxisCount
- mainAxisSpacing
- crossAxisSpacing
|