ProfileView is a Flutter package to open profile pictures in instagram style.
Just Provide Image to your ProfileView and it'll do all the work.
Circle Shape Image [Default]
ProfileView(
image: NetworkImage(
"https://preview.keenthemes.com/metronic-v4/theme/assets/pages/media/profile/profile_user.jpg"
),
),
Rectangle Image with Radius
ProfileView(
height: 100,
width: 100,
circle: false, //set value to false
borderRadius: 10, //Corner circular Radius.
image: NetworkImage(
"https://preview.keenthemes.com/metronic-v4/theme/assets/pages/media/profile/profile_user.jpg"
),
),
See Example Code for more info.
Every pull request is welcome.