BottomSheetWidget constructor

BottomSheetWidget({
  1. Key? key,
  2. double? width,
  3. required double height,
  4. required Widget child,
  5. EdgeInsetsGeometry? padding,
  6. Orientation orientation = Orientation.portrait,
  7. bool isNeedDropDownButton = true,
})

Implementation

BottomSheetWidget({
  Key? key,
  double? width,
  required this.height,
  required this.child,
  this.padding,
  this.orientation = Orientation.portrait,
  this.isNeedDropDownButton = true,
})  : width = width ??
          (orientation == Orientation.portrait
              ? Get.width
              : 387.0.scale375()),
      super(key: key);