mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-06 02:30:12 +08:00
@@ -19,11 +19,9 @@ class MemberShopItem extends StatelessWidget {
|
||||
final colorScheme = Theme.of(context).colorScheme;
|
||||
final belowLabels = item.belowLabels?.map((e) => e.title).join('|');
|
||||
return Card(
|
||||
clipBehavior: Clip.hardEdge,
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(6)),
|
||||
),
|
||||
shape: const RoundedRectangleBorder(borderRadius: .all(.circular(6))),
|
||||
child: InkWell(
|
||||
borderRadius: const .all(.circular(6)),
|
||||
onTap: () {
|
||||
if (item.cardUrl case final cardUrl?) {
|
||||
Get.toNamed('/webview', parameters: {'url': cardUrl});
|
||||
@@ -34,7 +32,7 @@ class MemberShopItem extends StatelessWidget {
|
||||
children: [
|
||||
LayoutBuilder(
|
||||
builder: (context, constraints) => NetworkImgLayer(
|
||||
type: .emote,
|
||||
borderRadius: const .vertical(top: .circular(6)),
|
||||
src: item.cover?.url,
|
||||
width: constraints.maxWidth,
|
||||
height: constraints.maxWidth,
|
||||
|
||||
Reference in New Issue
Block a user