728x90

https://sesang06.tistory.com/124

728x90

https://artist-developer.tistory.com/24

 

CI/CD란 무엇인가 (Feat. DevOps 엔지니어)

안녕하세요. 개발자의 용어를 쉽고 명확하게 설명해드리는 개발자 김모씨입니다. CI/CD ?! 개발자로 밥먹고 사시는 분들이시라면, 혹은 IT서비스 업계에 종사하시는 분들이라면, 한 번 쯤은 들어

artist-developer.tistory.com

https://engineering.linecorp.com/ko/blog/build-a-continuous-cicd-environment-based-on-data/

 

데이터 기반으로 지속적인 CI/CD 개선 환경 만들기 - LINE ENGINEERING

저는 올해 6월에 LINE에 입사해 LINE 메신저 클라이언트와 관련된 CI(Continuous Integration)/CD(Continuous Delivery) 업무를 지속적으로 개선하고 자동화하는 DevOps 역할을 수행하고 있습니다. 이번 글에서는

engineering.linecorp.com

 

728x90


앱전체 위젯에 적용하기

MaterialApp(
  title: '텍스트사이즈',
  theme: ThemeData(
    primarySwatch: Colors.blue,
    ),
  builder: (context, widget) {
  	return MediaQuery(
    	data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
  		child: widget,
  	);
  },
  home: Home(),
),


단일 위젯에 사용

Text("text", textScaleFactor: 1.0)




설명

플러터에서 사용하는 기본 폰트사이즈 단위는 안드로이드의 sp 입니다

SP(Scale-Independent Pixels)는 UI 레이아웃을 정의할 때 텍스트의 크기를 지정하기 위해 사용하는 단위이다.

안드로이드 설정 화면에서 사용자는 안드로이드 시스템 전체에서 보여지는 텍스트의 크기를 선택하여 설정할 수 있는데 SP는 해당 설정에 영향을 받는다. 예를 들어, 시스템 설정에서 텍스트 크기를 최대 크게로 설정하게 되면 UI 레이아웃을 정의할 때 SP로 크기를 지정해놓은 TextView의 텍스트 크기가 영향을 받아 커진다. 반면에 TextView의 텍스트 크기를 DP로 설정하게 되면 시스템 설정의 텍스트 크기 값의 변화에 상관없이 일정한 크기를 유지한다.





 

ref. https://geojun.tistory.com/59

728x90

스크롤뷰에서 특정 위젯의 위치에 도달했을 경우를 구하려고 한다.

위젯의 포지션값을 구하고 스크롤 리스너로 현재 포지션(픽셀)값을 구해서 비교해 주면 된다.

 

원하는 위젯의 포지션값을 구하기 위해서는 글로벌키를 이용하면 된다.

 

final someWidgetKey = new GlobalKey();
Offset position;

void calculatePosition() => WidgetsBinding.instance.addPostFrameCallback((_) {
		final RenderBox box = someWidgetKey.currentContext.findRenderObject();
		position = box.localToGlobal(Offset.zero); 	
		print(position);
	});


...
728x90

https://doublesprogramming.tistory.com/256

 

Git - 커밋 메시지 컨벤션

02_commit_message_rule.md Git - Commit Message Convention 커밋 메시지를 작성할 때는 원칙을 정하고 일관성 있게 작성해야 한다. 아래는 유다시티의 커밋 메시지 스타일 가이드를 참조한 내용이다. 1. Commit..

doublesprogramming.tistory.com

이 블로그에 잘 정리되어 있습니다.
내용은 직접 링크를 통해서 보시길 바랍니다.

개인적으로 아카이빙 하기위한 글입니다.

728x90

새로 나온 요즘 핫한 유아 플랫폼

 

' 키  즈  닝 '

 

유아 쇼셜 플랫폼!!

 

728x90

에러 로그

FAILURE: Build failed with an exception.                                
                                                                        
* Where:                                                                
Build file '/Users/i-bong/development/flutter_project/fearless_plus/android/app/build.gradle' line: 74
                                                                        
* What went wrong:                                                      
A problem occurred evaluating project ':app'.                           
> path may not be null or empty string. path='null'                     
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org

 

 

해결방법

 

프로젝트

android/app/build.gradle

 

주석처리

// signingConfigs {

// release {

// keyAlias keystoreProperties['keyAlias']

// keyPassword keystoreProperties['keyPassword']

// storeFile file(keystoreProperties['storeFile'])

// storePassword keystoreProperties['storePassword']

// }

// }

// buildTypes {

// release {

// signingConfig signingConfigs.release

// }

// }

 

원인

git push시에 ignore로 인해 해당 파일이 누락되었다.

+ Recent posts