Skip to content

Commit 41356d7

Browse files
committed
Remove unnecessary references to colours
They were blocking the upgrade to Flutter 2.10
1 parent 784c981 commit 41356d7

File tree

7 files changed

+17
-1804
lines changed

7 files changed

+17
-1804
lines changed

lib/src/models/node.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'dart:convert';
2-
import 'dart:ui';
32

43
import 'package:flutter/widgets.dart';
54

lib/src/tree_view_theme.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ class TreeViewTheme {
132132
/// replaced by the non-null parameters of the given icon theme. If the given
133133
/// [TreeViewTheme] is null, simply returns this theme.
134134
TreeViewTheme merge(TreeViewTheme other) {
135-
if (other == null) return this;
136135
return copyWith(
137136
colorScheme: other.colorScheme,
138137
levelPadding: other.levelPadding,

0 commit comments

Comments
 (0)