|
|
|
@ -399,44 +399,11 @@ class PostBottomWidget extends StatelessWidget {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
height: 75,
|
|
|
|
|
width: 75,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
image: DecorationImage(
|
|
|
|
|
image: AssetImage(R.ASSETS_SHOP_QR_BOX_PNG),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
alignment: Alignment.center,
|
|
|
|
|
child: ShaderMask(
|
|
|
|
|
blendMode: BlendMode.srcATop,
|
|
|
|
|
shaderCallback: (bounds) {
|
|
|
|
|
return SweepGradient(
|
|
|
|
|
colors: [
|
|
|
|
|
Color.fromRGBO(177, 14, 19, 1),
|
|
|
|
|
Color.fromRGBO(177, 14, 19, 1),
|
|
|
|
|
Color.fromRGBO(234, 94, 87, 1),
|
|
|
|
|
Color.fromRGBO(234, 94, 87, 1),
|
|
|
|
|
Color.fromRGBO(62, 100, 93, 1),
|
|
|
|
|
Color.fromRGBO(62, 100, 93, 1),
|
|
|
|
|
Color.fromRGBO(252, 185, 73, 1),
|
|
|
|
|
Color.fromRGBO(252, 185, 73, 1),
|
|
|
|
|
Color.fromRGBO(177, 14, 19, 1),
|
|
|
|
|
],
|
|
|
|
|
stops: [0, 0.25, 0.25, 0.5, 0.5, 0.75, 0.75, 1, 1],
|
|
|
|
|
transform: GradientRotation(pi / 4.1),
|
|
|
|
|
).createShader(bounds);
|
|
|
|
|
},
|
|
|
|
|
child: Transform.scale(
|
|
|
|
|
scale: 0.79,
|
|
|
|
|
child: QrImage(
|
|
|
|
|
padding: EdgeInsets.all(0),
|
|
|
|
|
data: qrCode,
|
|
|
|
|
size: 60,
|
|
|
|
|
gapless: true,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
QrImage(
|
|
|
|
|
padding: EdgeInsets.all(0),
|
|
|
|
|
data: qrCode,
|
|
|
|
|
size: 60,
|
|
|
|
|
gapless: true,
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
// margin: EdgeInsets.only(top: 5),
|
|
|
|
|