Typically, the Directionality widget is introduced by the MaterialApp or WidgetsApp widget at the top of your application widget tree. It determines the ambient reading direction and is used, for example, to determine how to lay out text, how to interpret "start" and "end" values, and to resolve EdgeInsetsDirectional, AlignmentDirectional, and other *Directional objects.
void main() {
runApp(CheckLan());
}
void main() {
runApp(MaterialApp(home: CheckLan(),));
}
이러케 추가해주니까 되었다! 이유는 모르겠음! 지금은 머리아파서 찾고 싶지 않으니까 나중에 이유를 추가해야겠다 미래의 나 파이팅!!