Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

style: rename class and fix constructor

Cyrine-benabid339e3d242fec
diff --git a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option.dart b/frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option.dart
index 0deba533de..4d41d4edff 100644
--- a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option.dart
+++ b/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