decorateDraggable function

Widget decorateDraggable(
  1. BuildContext context,
  2. Widget child,
  3. Border border
)

Implementation

Widget decorateDraggable(BuildContext context, Widget child, Border border) {
  return Container(
    decoration: BoxDecoration(
      border: border,
    ),
    child: Theme(
      data: Theme.of(context).copyWith(dividerColor: Colors.transparent),
      child: child,
    ),
  );
}