Skip to content

Commit 237f377

Browse files
committed
Remove deprecation warnings & Clean up api.
1 parent d2bd68f commit 237f377

17 files changed

+27
-32
lines changed

lib/src/api/nodes/accordion_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/auto_placeholder_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/base_node.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ import '../utils.dart';
1818
part '../node_processor.dart';
1919

2020
/// This is a global flag that is used to determine if the current layout
21-
/// is being tested or not. This is used to determine if the [BaseNode]
22-
bool isTestLayout = false;
21+
/// is being tested or not. This is used by the golden tests to render
22+
/// additional information on top of the nodes to help with debugging.
23+
bool kIsTestLayout = false;
2324

2425
/// Base class for all nodes. Any node class must extend this class.
2526
/// This provides base properties of any node like its id, name, size, fits,
@@ -324,12 +325,6 @@ abstract class BaseNode
324325
@JsonKey(includeFromJson: false, includeToJson: false)
325326
double globalRotationRadians;
326327

327-
/// A bool that is used to render the id of a node in the center. This is used
328-
/// by the golden tests.
329-
@Deprecated('No longer used')
330-
@JsonKey(includeFromJson: false, includeToJson: false)
331-
bool renderDebugInfo = false;
332-
333328
/// A simple label for console debugging.
334329
@JsonKey(includeFromJson: false, includeToJson: false)
335330
String get debugLabel => '$name [$id]';

lib/src/api/nodes/button_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/checkbox_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/expansion_tile_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/frame_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/freeform_placeholder_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/icon_node.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/nodes/list_view_node.g.dart

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)