defaultBehavior property

TouchRippleBehavior defaultBehavior

Return the default values for all the defined properties of a touch ripple.

See also:

  • The values of all properties of the returned instance must be defined and not null.
  • The value is not directly referenced externally.

Example:

@override
TouchRippleBehavior get defaultBehavior => TouchRippleBehavior(
  overlap: TouchRippleOverlapBehavior.overlappable,
  // ... All property values are defined.
);

Implementation

TouchRippleBehavior get defaultBehavior;