attach method
Implementation
@override
Widget? attach(BuildContext context, T controller) {
return controller.orientation == Axis.vertical
? Column(
mainAxisAlignment: controller.mainGravity,
mainAxisSize: controller.mainAxisSize,
crossAxisAlignment: controller.crossGravity,
textBaseline: controller.textBaseline,
textDirection: controller.textDirection,
verticalDirection: controller.verticalDirection,
children: controller.children,
)
: Row(
mainAxisAlignment: controller.mainGravity,
mainAxisSize: controller.mainAxisSize,
crossAxisAlignment: controller.crossGravity,
textBaseline: controller.textBaseline,
textDirection: controller.textDirection,
verticalDirection: controller.verticalDirection,
children: controller.children,
);
}