AdwClamp constructor

const AdwClamp({
  1. Key? key,
  2. required Widget child,
  3. double maximumSize = 580,
  4. EdgeInsets padding = EdgeInsets.zero,
  5. EdgeInsets margin = const EdgeInsets.all(14),
  6. bool center = true,
})

Implementation

const AdwClamp({
  Key? key,
  required this.child,
  this.maximumSize = 580,
  this.padding = EdgeInsets.zero,
  this.margin = const EdgeInsets.all(14),
  this.center = true,
})  : isScrollable = false,
      controller = null,
      super(key: key);