defaultFrameBuilder static method

Widget defaultFrameBuilder(
  1. BuildContext context,
  2. PanelState state,
  3. Widget child
)

Implementation

static Widget defaultFrameBuilder(BuildContext context, PanelState state, Widget child) {
  var theme = PanelsTheme.of(context)!.data;

  return Material(elevation: state.dragged ? theme.frameDraggedElevation : theme.frameStaticElevation, child: Container(color: theme.debugColors?[9], child: child));
}