Skip to content

Commit

Permalink
style(neon): export LabelBuilder from sort_box and settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Leptopoda committed Aug 2, 2023
1 parent 0c6c44d commit 91faa0a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/neon/neon/lib/settings.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export 'package:neon/src/models/label_builder.dart';
export 'package:neon/src/settings/models/nextcloud_app_options.dart';
export 'package:neon/src/settings/models/options_category.dart';
export 'package:neon/src/settings/models/select_option.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/neon/neon/lib/sort_box.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export 'package:neon/src/models/label_builder.dart';
export 'package:neon/src/sort_box/sort_box_builder.dart';
export 'package:neon/src/sort_box/sort_box_order_option_values.dart';
export 'package:sort_box/sort_box.dart';
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'package:flutter/widgets.dart';
import 'package:meta/meta.dart';

@internal
typedef LabelBuilder = String Function(BuildContext);
2 changes: 1 addition & 1 deletion packages/neon/neon/lib/src/settings/models/option.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:meta/meta.dart';
import 'package:neon/src/models/label_builder.dart';
import 'package:neon/src/settings/models/options_category.dart';
import 'package:neon/src/settings/models/storage.dart';
import 'package:neon/src/settings/widgets/label_builder.dart';
import 'package:rxdart/rxdart.dart';

@internal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:neon/src/settings/widgets/label_builder.dart';
import 'package:neon/src/models/label_builder.dart';

class OptionsCategory {
OptionsCategory({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:async';

import 'package:collection/collection.dart';
import 'package:neon/src/models/label_builder.dart';
import 'package:neon/src/settings/models/option.dart';
import 'package:neon/src/settings/widgets/label_builder.dart';

class SelectOption<T> extends Option<T> {
/// Creates a SelectOption
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:neon/l10n/localizations.dart';
import 'package:neon/src/settings/widgets/label_builder.dart';
import 'package:neon/src/models/label_builder.dart';
import 'package:sort_box/sort_box.dart';

final sortBoxOrderOptionValues = <SortBoxOrder, LabelBuilder>{
Expand Down

0 comments on commit 91faa0a

Please sign in to comment.