Skip to content

Commit

Permalink
dart format .を実行
Browse files Browse the repository at this point in the history
  • Loading branch information
shiosyakeyakini-info committed Nov 10, 2024
1 parent ba7b096 commit 1f1e0ca
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions lib/view/common/misskey_notes/network_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,26 @@ class NetworkImageView extends ConsumerWidget {
fit: fit,
errorWidget: (context, url, error) =>
errorBuilder?.call(context, error, StackTrace.current) ??
Container(
alignment: Alignment.center,
decoration: type == ImageType.avatarDecoration
? null
: BoxDecoration(
borderRadius: BorderRadius.circular(5),
color: const Color.fromARGB(255, 224, 224, 224),
)
,
child: type == ImageType.avatarDecoration
? null
: SvgPicture.asset(
"assets/images/miria_error.svg",
colorFilter: const ColorFilter.mode(
Color.fromARGB(255, 117, 117, 117),
BlendMode.srcIn,
Container(
alignment: Alignment.center,
decoration: type == ImageType.avatarDecoration
? null
: BoxDecoration(
borderRadius: BorderRadius.circular(5),
color: const Color.fromARGB(255, 224, 224, 224),
),
width: 48,
height: 48,
)
,
),
child: type == ImageType.avatarDecoration
? null
: SvgPicture.asset(
"assets/images/miria_error.svg",
colorFilter: const ColorFilter.mode(
Color.fromARGB(255, 117, 117, 117),
BlendMode.srcIn,
),
width: 48,
height: 48,
),
),
cacheManager: ref.read(cacheManagerProvider),
width: width,
height: height,
Expand Down

0 comments on commit 1f1e0ca

Please sign in to comment.