320x100
반응형
320x100
반응형
Error No Material widget found. 요약하자면, Material 위젯의 디자인을 따르는 위젯이 포함되지 않아서 출력되는 오류이다. 해결 방법 Material 앱 하위에 아래의 위젯을 포함시켜주자. Scaffold Card Dialog Drawer 일반적으로 Scaffold 없이 MaterialApp 내에 위젯들을 배치할 경우에 나는 오류이다. MaterialApp 하위 트리에 Scaffold 위젯이 위치해있지 않다면 포함시키자. import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildConte..
Error ShowDialog 를 사용하려는데 에러가 났다. StatefulWidget을 사용하여 ShowDialog를 보여주려는데 자꾸 다음과 같은 에러가 난다. 플러터 공식 홈페이지 예제를 보면 StatelessWidget 기준으로만 있어서 한참을 해맸다... ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ The following assertion was thrown while handling a gesture: No MaterialLocalizations found. MyApp widgets require MaterialLocalizations to be provid..
Error Uncaught TypeError: Cannot read properties of null 페이지가 로드되기 전에 해당 요소를 호출 할 때 발생하는 에러 Uncaught TypeError: Cannot set properties of null 페이지가 로드되기 전에 해당 요소의 값을 설정할 때 발생하는 에러 해결 방법 해결 방법은 크게 두가지로 나뉨 가장 맨 밑에 위치 시켜서 페이지의 요소가 로드 된 후 호출 window.onload 를 이용하여 웹 페이지가 로드가 끝나면 스크립트 실행 기존 코드 hello 해당 요소 밑에 자바스크립트 코드 위치 div가 온 코드 밑에 위치를 해도 되고 최하단으로 이동해도 됨 스크립트 관리의 가독성을 위해 최하단으로 위치하는 것이 보편적임 hello 자바스크립..
Error Executing ':Main.main()'... Starting Gradle Daemon... Gradle Daemon started in 667 ms > Task :compileJava FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.5.1/userguide/comma..