DVStudioLayoutProperty class
A property that is an argument to the box rather than a modifier on it.
These cannot live in dvStudioProperties: every entry there has to apply to a DVModifier, and spacing is not something a modifier can express -- it is how DVBox lays its children out. They are a list of their own rather than nothing, because a property the renderer honours and the inspector cannot offer is exactly the drift that list exists to prevent.
Constructors
-
DVStudioLayoutProperty(String name, DVStudioPropertyKind kind, {List<
String> choices = const <String>[], List<String> layouts = const <String>[]}) -
const
Properties
-
choices
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → DVStudioPropertyKind
-
final
-
layouts
→ List<
String> -
The layouts this property means something to, or empty for all of them.
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appliesTo(
String layout) → bool -
Whether this property means anything to a box laid out as
layout. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited