CopyPastor

Detecting plagiarism made easy.

Score: 0.8230109810829163; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2021-08-06
by Azraf Al Monzim

Original Post

Original - Posted on 2019-12-18
by sana ebadi



            
Present in both answers; Present only in the new answer; Present only in the old answer;

There are multiple ways to do this. Here is an example:

Container( height: 200, width: 300, color: Colors.grey, child: Padding( padding: const EdgeInsets.all(8.0), child: ClipRRect( borderRadius: BorderRadius.circular(20.0), child: Material( child: InkWell( onTap: () { //Here you can call your own animation for animate the Image }, // Add Your Own Image child: Image.network( 'https://images.pexels.com/photos/75973/pexels-photo-75973.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940', height: 200, width: 300, fit: BoxFit.fill, ), ), ), ), ), ),
you can use ClipRRect like this :

Padding( padding: const EdgeInsets.all(8.0), child: ClipRRect( borderRadius: BorderRadius.circular(25), child: Image.asset( 'assets/images/pic13.jpeg', fit: BoxFit.cover, ), ), )
you can set your radius, or user for only for topLeft or bottom left like :
Padding( padding: const EdgeInsets.all(8.0), child: ClipRRect( borderRadius: BorderRadius.only( topLeft: Radius.circular(25) ,bottomLeft: Radius.circular(25)), child: Image.asset( 'assets/images/pic13.jpeg', fit: BoxFit.cover, ), ), )


        
Present in both answers; Present only in the new answer; Present only in the old answer;