flutter_grid_item 1.0.0 copy "flutter_grid_item: ^1.0.0" to clipboard
flutter_grid_item: ^1.0.0 copied to clipboard

outdated

A new flutter package to create grid items easily.

flutter_grid_item #

Flutter widget that arrange items in a grid. It is useful for making a number pad, calculator, and so on.

pub package

Getting Started #

To use this plugin, add flutter_grid_item as a dependency in your pubspec.yaml file.

dependencies:
 flutter_grid_item: 

Import the library in your file.

import 'package:flutter_grid_item/flutter_grid_item.dart';

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)
    ],
  ],
)
10
likes
80
pub points
18%
popularity

Publisher

unverified uploader

A new flutter package to create grid items easily.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_grid_item