Skip to content

Commit 2643e9a

Browse files
committed
image provider updated
1 parent 3f5835a commit 2643e9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/pages/settings/settings3.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import 'package:cached_network_image/cached_network_image.dart';
21
/**
32
* Author: Damodar Lohani
43
* profile: https://github.com/lohanidamodar
54
*/
65

6+
import 'package:cached_network_image/cached_network_image.dart';
77
import 'package:flutter/material.dart';
88
import 'package:flutter_ui_challenges/core/presentation/res/assets.dart';
99

@@ -44,7 +44,7 @@ class SettingsThreePage extends StatelessWidget {
4444
children: <Widget>[
4545
ListTile(
4646
leading: CircleAvatar(
47-
backgroundImage: NetworkImage(avatars[4]),
47+
backgroundImage: CachedNetworkImageProvider(avatars[4]),
4848
),
4949
title: Text("Damodar Lohani"),
5050
onTap: () {},

0 commit comments

Comments
 (0)