Skip to content

Commit 41c4ebc

Browse files
authored
Export more code in ui_primitives to support Flutter tests. (#832)
1 parent 742318e commit 41c4ebc

3 files changed

Lines changed: 42 additions & 5 deletions

File tree

packages/ui_primitives/TEMP_README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ with the following changes:
1818
2. Remove commented code
1919
3. Review documentation
2020
4. Add test coverage
21-
5. Get green light from Flutter Framework team
22-
6. Try to remove cycle dependencies
21+
5. Remove occurrences of word 'flutter'.
22+
6. Get green light from Flutter Framework team
23+
7. Try to remove cycle dependencies

packages/ui_primitives/lib/ui_primitives.dart

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,58 @@
44

55
export 'src/foundation/assertions.dart'
66
show
7+
DiagnosticsStackTrace,
78
ErrorDescription,
9+
ErrorHint,
10+
ErrorSpacer,
11+
ErrorSummary,
812
PartialStackFrame,
913
RepetitiveStackFrameFilter,
1014
StackFilter,
1115
StackFrame,
1216
UiError,
13-
UiErrorDetails;
17+
UiErrorDetails,
18+
debugPrintStack;
19+
1420
export 'src/foundation/diagnostics.dart'
1521
show
1622
DiagnosticLevel,
1723
DiagnosticPropertiesBuilder,
1824
Diagnosticable,
25+
DiagnosticableNode,
26+
DiagnosticableTree,
27+
DiagnosticableTreeMixin,
28+
DiagnosticableTreeNode,
29+
DiagnosticsBlock,
1930
DiagnosticsNode,
31+
DiagnosticsProperty,
2032
DiagnosticsSerializationDelegate,
2133
DiagnosticsTreeStyle,
22-
TextTreeConfiguration;
34+
DoubleProperty,
35+
EnumProperty,
36+
FlagProperty,
37+
FlagsSummary,
38+
IntProperty,
39+
IterableProperty,
40+
MessageProperty,
41+
ObjectFlagProperty,
42+
PercentProperty,
43+
StringProperty,
44+
TextTreeConfiguration,
45+
TextTreeRenderer,
46+
describeEnum,
47+
describeIdentity,
48+
kNoDefaultValue,
49+
shortHash,
50+
singleLineTextConfiguration,
51+
sparseTextConfiguration;
2352
export 'src/foundation/listenable.dart' show Listenable, ValueListenable;
53+
export 'src/foundation/print.dart'
54+
show
55+
DebugPrintCallback,
56+
debugPrint,
57+
debugPrintSynchronously,
58+
debugPrintThrottled,
59+
debugWordWrap;
2460
export 'src/foundation/value_notifier.dart' show ValueNotifier;
2561
export 'src/primitives/basics.dart' show VoidCallback;

packages/ui_primitives/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name: ui_primitives
66
description: Highly experimental package.
77
repository: https://github.com/flutter/genui/tree/main/packages/ui_primitives
8-
version: 0.0.1-dev-002
8+
version: 0.0.1-dev-003
99

1010
resolution: workspace
1111

0 commit comments

Comments
 (0)