PropsMixin class

Annotation used with the over_react builder to declare a mixin for use in a UiProps class.

Props are declared as fields, which act as stubs for generated getters/setters that proxy Map key-value pairs.

@PropsMixin()
mixin GraultPropsMixin on UiProps {
  Map get props;

  Object garply;
}

Classes using this annotation must include the abstract props getter.

Deprecated. Use the @Props() annotation instead if you need to make use of an annotation argument. Otherwise, this can be removed completely. Will be removed in the 4.0.0 release of over_react.

Implemented types
Annotations
  • @Deprecated('Use the @Props() annotation if you need to make use of an annotation argument. Otherwise, this can be removed completely. Will be removed in the 4.0.0 release of over_react.')

Constructors

PropsMixin({String? keyNamespace})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
keyNamespace String?
A custom namespace for the keys of props defined in the annotated class, overriding the default of '${propsClassName}.'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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