소스 검색

style: rename class and fix constructor

Cyrine-benabid 2 년 전
부모
커밋
339e3d242f
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option.dart

+ 4 - 4
frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option.dart

@@ -269,15 +269,15 @@ class _AddOptionButton extends StatelessWidget {
 class _CreateOptionTextField extends StatefulWidget {
   final PopoverMutex? popoverMutex;
   const _CreateOptionTextField({
-    super.key,
+    Key? key,
     this.popoverMutex,
-  });
+  }) : super(key: key);
 
   @override
-  State<_CreateOptionTextField> createState() => __CreateOptionTextFieldState();
+  State<_CreateOptionTextField> createState() => _CreateOptionTextFieldState();
 }
 
-class __CreateOptionTextFieldState extends State<_CreateOptionTextField> {
+class _CreateOptionTextFieldState extends State<_CreateOptionTextField> {
   late final FocusNode _focusNode;
 
   @override