ContentPlugin class abstract
- Inheritance
- Implementers
Constructors
- ContentPlugin({required ContentProvider provider, required String name, required String title})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
finalinherited
- pluginType → PluginType
-
finalinherited
- provider → ContentProvider
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
finalinherited
-
typeRegistry
→ Map<
Type, Map< String, TypeDescriptor> > -
no setter
Methods
-
buildContent(
BuildContext context, ContentItem content) → Widget -
buildRoute(
BuildContext context, {Uri? url, String? routeId}) → Widget -
dispose(
) → Future< void> -
inherited
-
fromJson<
T> (Map< String, dynamic> json) → T? -
init(
) → Future< void> -
inherited
-
isRegistered<
T> (TypeDescriptor< T> descriptor) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register<
T> (TypeDescriptor< T> descriptor) → dynamic -
setup(
List< FeatureDescriptor> features) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited