MaterialButtonWithIconMixin mixin Null safety

The type of MaterialButtons created with RaisedButton.icon] and FlatButton.icon.

This mixin only exists to give the "label and icon" button widgets a distinct type for the sake of ButtonTheme.

Annotations
  • @Deprecated('This was used to differentiate types of FlatButton, RaisedButton, and OutlineButton in ButtonTheme. ' 'These buttons have been replaced with TextButton, ElevatedButton, and OutlinedButton, each of which have their own respective themes now. ' 'Use one of these button classes instead. ' 'This feature was deprecated after v2.11.0-0.0.pre.')

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited