A DrawerItem to show an about box.

Place this in a Drawer, specifying your preferred application name, version, icon, and copyright in the appropriate fields.

The about box will include a button that shows licenses for software used by the application. The licenses shown are those returned by the LicenseRegistry API, which can be used to add more licenses to the list.

If your application does not have a Drawer, you should provide an affordance to call showAboutDialog or (at least) showLicensePage.

Inheritance

Constructors

AboutDrawerItem({Key key, Widget icon: const Icon(null), Widget child, String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese, List<Widget> aboutBoxChildren })

Creates a drawer item for showing an about box.

Properties

aboutBoxChildren List<Widget>

Widgets to add to the AboutDialog after the name, version, and legalese.

read-only
applicationIcon Widget

The icon to show next to the application name in the AboutDialog.

read-only
applicationLegalese String

A string to show in small print in the AboutDialog.

read-only
applicationName String

The name of the application.

read-only
applicationVersion String

The version of this build of the application.

read-only
child Widget

The label to show on this drawer item.

read-only
icon Widget

The icon to show for this drawer item.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
key Key

Controls how one widget replaces another widget in the tree.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

build(BuildContext context) Widget

Describes the part of the user interface represented by this widget.

createElement() StatelessElement

Creates a StatelessElement to manage this widget's location in the tree.

inherited
debugFillDescription(List<String> description) → void

Add additional information to the given description for use by toString.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited
toStringShort() String

A short, textual description of this widget.

inherited