buildSplashLeft method
Widget
buildSplashLeft(
- BoxConstraints constraints,
- bool animate,
- bool showSplash,
- double splashWidth,
- double spaceWidth,
Implementation
Widget buildSplashLeft(
BoxConstraints constraints,
bool animate,
bool showSplash,
double splashWidth,
double spaceWidth,
) {
return AnimatedContainer(
duration:
animate ? const Duration(seconds: 1) : const Duration(seconds: 0),
curve: Curves.fastOutSlowIn,
child: Container(
width: !showSplash
? spaceWidth
: !rightAlignedSplash
? splashWidth
: 0,
color: Colors.amber,
),
);
}