OutlineDecoration.onlyTop constructor

OutlineDecoration.onlyTop({
  1. required Widget? child,
})

Implementation

factory OutlineDecoration.onlyTop({required Widget? child}) =>
    OutlineDecoration(
      showBottom: false,
      showLeft: false,
      showRight: false,
      child: child,
    );