INNER CODE UNIT · Dart

borderRadius

YYFlutter/flutter-custom-dialog · lib/flutter_custom_dialog.dart:31

  double borderRadius = 0.0; //弹窗圆角

  Function()? showCallBack; //展示的回调
  Function()? dismissCallBack; //消失的回调

  get isShowing => _isShowing; //当前 弹窗是否可见
  bool _isShowing = false;

  //============================================================================
  static void init(BuildContext ctx) {
    _context = ctx;
  }

  YYDialog build([BuildContext? ctx]) {
    if (ctx == null && _context != null) {
      this.context = _context;
      return this;
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…