Add missing parameter to TableBorder.symmetric, and improve class constructors (#144279)
Originally, my aim was just to refactor (as per usual), but while messing around with the `TableBorder.symmetric` constructor, I realized that `borderRadius` was missing! This pull request makes a few class constructors more efficient, and it fixes #144277 by adding the missing parameter. <br>
This commit is contained in:
@@ -22,8 +22,6 @@ import 'constants.dart';
|
||||
///
|
||||
/// * [AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo)
|
||||
class AndroidSemanticsNode {
|
||||
AndroidSemanticsNode._(this._values);
|
||||
|
||||
/// Deserializes a new [AndroidSemanticsNode] from a json map.
|
||||
///
|
||||
/// The structure of the JSON:
|
||||
@@ -54,9 +52,7 @@ class AndroidSemanticsNode {
|
||||
/// int,
|
||||
/// ]
|
||||
/// }
|
||||
factory AndroidSemanticsNode.deserialize(String value) {
|
||||
return AndroidSemanticsNode._(json.decode(value));
|
||||
}
|
||||
AndroidSemanticsNode.deserialize(String value) : _values = json.decode(value);
|
||||
|
||||
final dynamic _values;
|
||||
final List<AndroidSemanticsNode> _children = <AndroidSemanticsNode>[];
|
||||
|
||||
Reference in New Issue
Block a user