XResizableWidget constructor

XResizableWidget({
  1. Key? key,
  2. required List<Widget> children,
  3. List<double>? percentages,
  4. String title = "",
  5. @Deprecated('Use [isHorizontalSeparator] instead') bool isColumnChildren = false,
  6. bool isHorizontalSeparator = false,
  7. bool isDisabledSmartHide = false,
  8. double separatorSize = 4,
  9. Color separatorColor = Colors.white12,
  10. OnResizedFunc? onResized,
  11. List<Widget>? xWidgets_BeforeTitle,
  12. List<Widget>? xWidgets_AfterTitle,
})

Creates ResizableWidget.

Implementation

XResizableWidget({
  Key? key,
  required this.children,
  // required this.key_Head,
  // required this.key_Detts,
  this.percentages,
  this.title = "",
  @Deprecated('Use [isHorizontalSeparator] instead') this.isColumnChildren = false,
  this.isHorizontalSeparator = false,
  this.isDisabledSmartHide = false,
  this.separatorSize = 4,
  this.separatorColor = Colors.white12,
  this.onResized,
  this.xWidgets_BeforeTitle,
  this.xWidgets_AfterTitle,
}) : super(key: key) {
  assert(children.isNotEmpty);
  assert(percentages == null || percentages!.length == children.length);
  assert(percentages == null || percentages!.reduce((value, element) => value + element) == 1);
}