SafeAreaColor constructor
const
SafeAreaColor({})
return Container(
color: color,
child: SafeArea(
child: Container(
height: height,
child: child,
),
),
);
Implementation
const SafeAreaColor(
{Key? key,
this.child,
this.color = Colors.white,
this.height,
this.width = double.infinity})
: super(key: key);