본문 바로가기
728x90
반응형

전체 글90

[git] vscode 터미널 명령어 github에서 repository 생성 후 vscode 터미널에서 다음을 순서대로 입력 # 프로젝트 폴더에서 git 초기화 git init # git remote 생성 git remote add origin [repository link] # 생성된 git remote 확인 git remote -v # 이후 vscode 에서 작업 2024. 1. 25.
'File.create' has fewer named arguments than those of overridden method 'File.create' 에러문구 'File.create' has fewer named arguments than those of overridden method 'File.create' 해결 flutter pub upgrade 2024. 1. 9.
onHighlightChanged RawMaterialButton( onPressed: () => {}, onHighlightChanged: (value) { setState(() { backgroundColor = value ? Colors.amber : Colors.redAccent; _highlight = value; }); }, elevation: _highlight ? 10.0 : 1.0, constraints: BoxConstraints.tightFor( width: 100.0, // double? width height: 100.0 // double? height ), fillColor: backgroundColor, shape: _pentagonBorder(), ) 2024. 1. 7.
ShapeBorder -> pentagon class _pentagonBorder extends ShapeBorder { @override EdgeInsetsGeometry get dimensions => EdgeInsets.only(); @override Path getInnerPath(Rect rect, {TextDirection? textDirection}) { return getOuterPath(rect, textDirection: textDirection!); } @override Path getOuterPath(Rect rect, {TextDirection? textDirection}) { return Path() ..moveTo(rect.left + rect.width / 2.0, rect.top) ..lineTo(rect.right.. 2024. 1. 7.
BoxConstraints.tightFor RawMaterialButton( onPressed: () => {}, constraints: BoxConstraints.tightFor( width: 100.0, // double? width height: 100.0 // double? height ), fillColor: Colors.amber, ) 2024. 1. 7.
안드로이드스튜디오 PlatformException(null-error, Host platform returned null value for non-null return value., null, null) 에러문구 Unhandled Exception: PlatformException(null-error, Host platform returned null value for non-null return value., null, null) 해결 await Firebase.initializeApp(); // 해결전 await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform); // 해결후 2024. 1. 7.
728x90
반응형