Last updated:
0 purchases
flutter grid item
flutter_grid_item #
A new flutter package to create grid items easily with full customization ability. It'll be helpful for making a number pad, calculator, and so on.
Getting Started #
To use this plugin, add flutter_grid_item as a dependency in your pubspec.yaml file.
dependencies:
flutter_grid_item:
copied to clipboard
Import the library in your file.
import 'package:flutter_grid_item/flutter_grid_item.dart';
copied to clipboard
See the example directory for a complete sample app using GridItem.
Or use the GridItem like below.
GridItem(
onPressed: (String value) {
/*...*/
},
items: [
[
Grid(title: "1"),
Grid(child: Text("2")),
Grid(title: "3", flex: 2),
],
[
Grid(title: "a", value: "100", longPressValue: "long"),
Grid(title: "b", color: Colors.lightBlue)
],
],
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.