Skip to content

Commit

Permalink
Fixed doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
eggnstone committed Sep 25, 2024
1 parent 4290efc commit aa11447
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/src/Data/Config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit aa11447

Please sign in to comment.