createState()함수가 호출되어 상태가 생성되면 mounted 속성이 true로 변경된다. mounted 속성이 true -> 위젯을 제어할 수 있는 buildContext 클래스에 접근할 수 있다는 의미이다. mounted 가 false면 오류가 발생한다.