ViewerMediaType class

Media type that encapsulates static visual media, like comics or pictures.

Inheritance

Properties

floatingSearchBarController → FloatingSearchBarController
The floating search bar controller for this media type's tab page.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
hasListeners bool
Whether any listeners are currently registered.
read-onlyinherited
home Widget
The body that will be shown when this media type's tab is the current selected home tab.
read-onlyoverride
icon IconData
An icon that will represent this media type in its home tab.
finalinherited
outlinedIcon IconData
An icon that represents this media type when unselected in its home tab.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollController ScrollController
The controller to be used for this media type's home tab when it has enough media items to display that require the tab to be scrollable.
read / writeinherited
tabRefreshNotifier ChangeNotifier
Used to notify the media type tab to refresh.
finalinherited
uniqueKey String
A unique name that allows distinguishing this type from others, particularly for the purposes of differentiating between persistent settings keys. This does not differ when the user's app language changes.
finalinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
refreshTab() → void
Use this to refresh a media type's tab page on the main menu.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ViewerMediaType
Get the singleton instance of this media type.
read-only