wrap static method

Layout wrap(
  1. Layout layout, {
  2. String? property,
})

wrap layouts for property handling

Implementation

static Layout wrap(Layout layout, {String? property}) {
  return CustomLayout(
      layout: layout,
      decoder: (value) => value,
      encoder: (src) => src,
      property: property);
}