FeedPlacementController class

The calls on a FeedPlacement that its configuration cannot express.

Create one, pass it as FeedPlacement.controller, and keep it where your code can reach it, as with BannerController. It acts on whichever placement it is attached to, and does nothing while attached to none.

Only FeedPlacement takes one, not FeedPlacementBuilder: adding a parameter to that type would break any function a host wrote to match it.

Implementers

Constructors

FeedPlacementController()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
reportPageViewOnTheSameWidget() → Future<void>
Counts one more page view for the feed already on screen, without reloading it. For an app that shows the same article again, for example when the user comes back to it, and wants that counted as a new view.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited