sideImage function Null safety
- String assetName
Customize the side image.
Implementation
SideBuilder sideImage(String assetName) {
return (context, constraints) {
return Center(
child: Padding(
padding: EdgeInsets.all(constraints.maxWidth / 4),
child: Image.asset(assetName),
),
);
};
}