INNER CODE UNIT · Dart
Constraint
hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:690
class Constraint extends ConstraintDefine {
/// 'wrap_content'、'match_parent'、'match_constraint'、'48, etc'
/// 'match_parent' will be converted to the base constraints
final double width;
final double height;
/// When size is non-null, both width and height are set to size
final double? size;
/// Expand the click area without changing the actual size
final EdgeInsets clickPadding;
final CLVisibility visibility;
/// Both margin and goneMargin can be negative
final bool percentageMargin;
final EdgeInsets margin;
final EdgeInsets goneMargin;