DefaultCardLayout class

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

Constructors

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

Properties

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 for the content item. This transforms the content into a Flutter Widget.
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