show ordinal image

This commit is contained in:
sneurlax 2023-07-21 10:49:30 -05:00
parent 65e8c34e34
commit ddba1c54f7
2 changed files with 15 additions and 6 deletions

View file

@ -199,9 +199,17 @@ class _OrdinalImageGroup extends StatelessWidget {
height: _spacing,
),
AspectRatio(
aspectRatio: 1,
child: AspectRatio(
aspectRatio: 1,
child: Container(
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(

View file

@ -33,8 +33,9 @@ class OrdinalCard extends StatelessWidget {
child: Container(
color: Colors.red,
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,
filterQuality: FilterQuality.none, // Set the filter mode to nearest
),
),
),