DefaultCardLayout class

Inheritance
  • Object
  • LayoutConfiguration<Card>
  • DefaultCardLayout
Annotations
  • @JsonSerializable.new()

Constructors

DefaultCardLayout({required String title, int maxDescriptionLines = 2})
DefaultCardLayout.fromJson(Map<String, dynamic> json)
factory

Properties

contentType → Type
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
maxDescriptionLines → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaType → String
The schema type of the content item.
finalinherited
title → String
final

Methods

build(BuildContext context, Card content) → Widget
Builds the layout widget tree for the given content item.
override
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

Static Properties

typeDescriptor → TypeDescriptor<DefaultCardLayout>
final

Constants

schemaName → const String