NotchInfo constructor

const NotchInfo({
  1. required NotchType type,
  2. double topInset = 0,
  3. double bottomInset = 0,
  4. double leftInset = 0,
  5. double rightInset = 0,
  6. List<Rect> cutoutRects = const [],
  7. FoldState? foldState,
  8. Rect? hingeBounds,
  9. Orientation? orientation,
})

Implementation

const NotchInfo({
  required this.type,
  this.topInset = 0,
  this.bottomInset = 0,
  this.leftInset = 0,
  this.rightInset = 0,
  this.cutoutRects = const [],
  this.foldState,
  this.hingeBounds,
  this.orientation,
});