Rounded Corner Radius Image
Complete Code For Rounded Corner Radius Image In Flutter
main.dart
import 'package:flutter/material.dart'; void main() { runApp(MaterialApp( debugShowCheckedModeBanner: false, home: HomeScreen(), )); } class HomeScreen extends StatelessWidget{ @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.black54, appBar: AppBar( backgroundColor: Color(0xFF4A148C), title: Text("Rounded Corner Image Widget"), ), body: Center( child: ClipRRect( borderRadius: BorderRadius.circular(10.0), child: Image.asset('assets/img1.jpg', width: 250, height: 200, fit: BoxFit.cover,))), ); } }