buildContainer method

Widget buildContainer(
  1. Widget child
)

Implementation

Widget buildContainer(Widget child) {
  return Opacity(
    opacity: disabled ? 0.4 : 1,
    child: Row(
      mainAxisSize: expand ? MainAxisSize.max : MainAxisSize.min,
      mainAxisAlignment: MainAxisAlignment.start,
      children: [
        expand ? Expanded(child: buildInner(child)) : buildInner(child)
      ],
    ),
  );
}