XResizableWidget constructor
XResizableWidget({
- Key? key,
- required List<
Widget> children, - List<
double> ? percentages, - String title = "",
- @Deprecated('Use [isHorizontalSeparator] instead') bool isColumnChildren = false,
- bool isHorizontalSeparator = false,
- bool isDisabledSmartHide = false,
- double separatorSize = 4,
- Color separatorColor = Colors.white12,
- OnResizedFunc? onResized,
- List<
Widget> ? xWidgets_BeforeTitle, - 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);
}