Flutter Memo

 Before start

Check Gradle version 

Flutter doctor to resolve error 

Add flutter to $PATH:

$HOME/.zshrc

nano ~/.zshrc

source ~/.zshrc

Invalidate Cache is sometimes useful because it triggers indexation


Android studio Adb port conflict

adb -P 5038 start-server

Set fixed adb port 5038


 sudo kill `sudo lsof -t -i:5037`


--------------------------------


Round image from URL: 

Container(
  width: 200,
  height: 200,
  decoration: BoxDecoration(
	shape: BoxShape.circle,
	image: DecorationImage(
	  image: NetworkImage('https://googleflutter.com/sample_image.jpg'),
	  fit: BoxFit.fill
	),
  ),
),
CircleAvatar(
         radius: 30.0,
         backgroundImage: NetworkImage(imageURL),
         backgroundColor: Colors.transparent,
         ));

Commentaires

Posts les plus consultés de ce blog

Kubectl Commands

HMS Interface Translation