AdaptiveLayout constructor

const AdaptiveLayout({
  1. Key? key,
  2. required List<AdaptiveWidget> children,
  3. Axis direction = Axis.vertical,
  4. bool enableAutoAdjustments = true,
  5. Duration autoAdjustInterval = const Duration(seconds: 30),
  6. int minInteractionsBeforeAdjust = 5,
  7. List<LayoutRule>? rules,
  8. LayoutStore? layoutStore,
  9. InteractionTracker? tracker,
  10. String? layoutId,
  11. dynamic onLayoutChanged(
    1. LayoutConfig
    )?,
  12. EdgeInsetsGeometry? padding,
})

Constructor

Implementation

const AdaptiveLayout({
  super.key,
  required this.children,
  this.direction = Axis.vertical,
  this.enableAutoAdjustments = true,
  this.autoAdjustInterval = const Duration(seconds: 30),
  this.minInteractionsBeforeAdjust = 5,
  this.rules,
  this.layoutStore,
  this.tracker,
  this.layoutId,
  this.onLayoutChanged,
  this.padding,
});