ExpandIconTheme class
Theme data for expand/collapse icon in FolderView
- Annotations
Constructors
- ExpandIconTheme({Widget? widget, double width = 20.0, double height = 20.0, EdgeInsets padding = EdgeInsets.zero, EdgeInsets margin = EdgeInsets.zero, Color? color, Color? expandedColor})
-
Creates an ExpandIconTheme
const
Properties
- color → Color?
-
Color of the icon when collapsed
final
- expandedColor → Color?
-
Color of the icon when expanded
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
Height of the icon widget
final
- margin → EdgeInsets
-
Margin around the icon widget
final
- padding → EdgeInsets
-
Padding around the icon widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → Widget?
-
Widget to display for expand/collapse icon
This widget will be rotated during expand/collapse animation
final
- width → double
-
Width of the icon widget
final
Methods
-
copyWith(
{Widget? widget, double? width, double? height, EdgeInsets? padding, EdgeInsets? margin, Color? color, Color? expandedColor}) → ExpandIconTheme - Creates a copy of this theme with the given fields replaced with new values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
ExpandIconTheme? a, ExpandIconTheme? b, double t) → ExpandIconTheme - Linearly interpolate between two ExpandIconThemes