GridLayoutSizedItem constructor

GridLayoutSizedItem({
  1. Key? key,
  2. required Object id,
  3. required Widget child,
  4. required double width,
  5. required double height,
})

Implementation

GridLayoutSizedItem({
  Key? key,
  required Object id,
  required Widget child,
  required this.width,
  required this.height,
})  : assert(width > 0),
      assert(height > 0),
      super(key: key, child: child, id: id);