buildDirection method
Implementation
Widget buildDirection() {
if (childPosition == ChildPosition.left ||
childPosition == ChildPosition.right) {
return Row(
mainAxisSize: expand ? MainAxisSize.max : MainAxisSize.min,
mainAxisAlignment: _fixAlign(),
children: buildChildren());
}
return Column(
mainAxisSize: expand ? MainAxisSize.max : MainAxisSize.min,
mainAxisAlignment: _fixAlign(),
children: buildChildren(),
);
}