Container( height: SizeConfig.safeBlockVertical * 24, width: SizeConfig.safeBlockHorizontal * 45, padding: EdgeInsets.only( left: SizeConfig.safeBlockHorizontal * 5, right: SizeConfig.safeBlockHorizontal * 4, bottom: SizeConfig.safeBlockVertical * 2), decoration: BoxDecoration( borderRadius: BorderRadius.circular(20), color: Colors.white, gradient: RadialGradient( focalRadius: 100, radius: 1.5, center: Alignment.bottomLeft, colors: [ colorStyles["maslowGreen"]!.withOpacity(0.65), colorStyles["maslowGreen"]!.withOpacity(0.65), ], stops: [ 0.0, 1.0 ])), child: _collectionName(), ),
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter