SingleItemLayout class final

Inheritance
Annotations
  • @JsonSerializable()

Constructors

SingleItemLayout({bool useSafeArea = false, bool showAppBar = false, List<MenuAction>? actions})
SingleItemLayout.fromJson(Map<String, dynamic> json)
factory

Properties

actions List<MenuAction>?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The schema type of the content item.
finalinherited
showAppBar bool
final
useSafeArea bool
final

Methods

build(BuildContext context, Route 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<SingleItemLayout>
final

Constants

schemaName → const String