show method
dynamic
show()
Implementation
show() {
//fix transparent error
if (_barrierColor == Colors.transparent) {
_barrierColor = Colors.white.withOpacity(0.0);
}
showGeneralDialog(
context: _context,
barrierColor: _barrierColor ?? Colors.white.withOpacity(0.0),
barrierDismissible: _barrierDismissible ?? true,
barrierLabel: "",
transitionDuration: _duration ?? Duration(milliseconds: 250),
transitionBuilder: _transitionsBuilder ?? _buildMaterialDialogTransitions,
pageBuilder: (BuildContext buildContext, Animation<double> animation, Animation<double> secondaryAnimation) {
return Builder(
builder: (BuildContext context) {
return _child;
},
);
},
);
}