Design class

Flags a class as needing to be processed by flutter_design_codegen to generate into an importable design system viewer page. It also allows passing options to customize the builder's behavior.

Constructors

Design({String? title, String? subtitle, String? description, String? designLink, bool showApiDocs = true})
Default constructor
const

Properties

description String?
Additional description under the table of content
final
Link to a design file that can be opened in the widget viewer
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showApiDocs bool
Flag if the API reference section should be included
final
subtitle String?
Subtitle to be displayed under the top of the page
final
title String?
Title to be displayed in the explorer & the top of the page
final

Methods

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