scale static method
dynamic
scale({})
Implementation
static scale({
required BuildContext context,
required String logo,
required Curve animationType,
int? durationInMilliSeconds,
bool? isClockWise,
Color? logoBackdropColor,
double? height,
double? width,
BoxFit? boxFit,
Color? fullScreenBackdropColor,
Key? key,
}) {
showDialog(
context: context,
barrierDismissible: false,
useRootNavigator: true,
barrierColor: fullScreenBackdropColor?? Colors.black54,
builder: (BuildContext context) => Scale(
logo: logo,
animationType: animationType,
speed: durationInMilliSeconds ?? 600,
isClockWise: isClockWise ?? true,
logoBackdropColor: logoBackdropColor ?? Colors.transparent,
height: height ?? 100.0,
width: width ?? 100,
boxFit: boxFit ?? BoxFit.cover,
key: key,
));
}