ButtonThemeData class
A style for each kind of button: IconButton, TextButton, FilledButton and OutlinedButton.
- Annotations
Constructors
- ButtonThemeData({ButtonStyle? icon, ButtonStyle? text, ButtonStyle? filled, ButtonStyle? outlined})
-
const
Properties
- filled → ButtonStyle?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → ButtonStyle?
-
final
- outlined → ButtonStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → ButtonStyle?
-
final
Methods
-
copyWith(
{ButtonStyle? icon, ButtonStyle? text, ButtonStyle? filled, ButtonStyle? outlined}) → ButtonThemeData -
merge(
ButtonThemeData other) → ButtonThemeData -
These styles, each taking from
other's what it leaves unset. -
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