mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
show ordinal image
This commit is contained in:
parent
65e8c34e34
commit
ddba1c54f7
2 changed files with 15 additions and 6 deletions
|
@ -199,9 +199,17 @@ class _OrdinalImageGroup extends StatelessWidget {
|
||||||
height: _spacing,
|
height: _spacing,
|
||||||
),
|
),
|
||||||
AspectRatio(
|
AspectRatio(
|
||||||
|
aspectRatio: 1,
|
||||||
|
child: AspectRatio(
|
||||||
aspectRatio: 1,
|
aspectRatio: 1,
|
||||||
child: Container(
|
child: Container(
|
||||||
color: Colors.red,
|
color: Colors.red,
|
||||||
|
child: Image.network(
|
||||||
|
inscriptionData.content, // Use the preview URL as the image source
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
filterQuality: FilterQuality.none, // Set the filter mode to nearest
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
|
|
|
@ -33,8 +33,9 @@ class OrdinalCard extends StatelessWidget {
|
||||||
child: Container(
|
child: Container(
|
||||||
color: Colors.red,
|
color: Colors.red,
|
||||||
child: Image.network(
|
child: Image.network(
|
||||||
inscriptionData.preview, // Use the preview URL as the image source
|
inscriptionData.content, // Use the preview URL as the image source
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
|
filterQuality: FilterQuality.none, // Set the filter mode to nearest
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue