From aa1144733a18b6ef92d8df7eecc2d5673c14f8bd Mon Sep 17 00:00:00 2001 From: eggnstone Date: Wed, 25 Sep 2024 16:15:07 +0200 Subject: [PATCH] Fixed doc. --- lib/src/Data/Config.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/Data/Config.dart b/lib/src/Data/Config.dart index 08ea409..36f1809 100644 --- a/lib/src/Data/Config.dart +++ b/lib/src/Data/Config.dart @@ -94,6 +94,7 @@ class Config with _$Config @Default(false) bool fixSpaces }) = _Config; + /// Create a new instance of [Config] with all options turned on, including experimental options. static Config experimental() => Config.all(fixSpaces: true); /// Create a new instance of [Config] with all options turned on. @@ -111,7 +112,7 @@ class Config with _$Config bool addNewLineBeforeClosingBrace = ADD_NEW_LINE_BEFORE_CLOSING_BRACE_DEFAULT, /// Whether to add a new line before an opening brace. bool addNewLineBeforeOpeningBrace = ADD_NEW_LINE_BEFORE_OPENING_BRACE_DEFAULT, - /// TODO + /// Whether to fix spaces. bool fixSpaces = FIX_SPACES_DEFAULT, /// The number of spaces to use for indentation. -1 = do not change indentation. int indentationSpacesPerLevel = INDENTATION_SPACES_PER_LEVEL_DEFAULT, diff --git a/pubspec.yaml b/pubspec.yaml index e0097df..28075c6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,7 +26,7 @@ dev_dependencies: build_runner: ^2.4.12 freezed: ^2.5.7 json_serializable: ^6.8.0 - meta: ^1.15.0 + meta: ^1.16.0 test: ^1.25.8 assets: