You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudsolutions-atoms/lib/new_views/common_widgets/app_bar/user_image.dart

19 lines
456 B
Dart

import 'package:flutter/material.dart';
class UserImage extends StatelessWidget {
String url;
UserImage({Key key, @required this.url}) : super(key: key);
@override
Widget build(BuildContext context) {
return SizedBox(
height: 48,
width: 48,
child: CircleAvatar(
//backgroundColor: Colors.transparent,
child: Image.network(url??''),
//backgroundImage: NetworkImage(url),
));
}
}