UIDragThemeData class
- Inheritance
-
- Object
- ThemeExtension<
UIDragThemeData> - UIDragThemeData
- Implemented types
Constructors
- UIDragThemeData({Color? backgroundColor, BorderRadius? borderRadius, double? height, EdgeInsets? margin, BoxConstraints? constraints})
-
const
- UIDragThemeData.config({Color? backgroundColor = Colors.grey, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(10)), double? height = 24, EdgeInsets? margin = const EdgeInsets.only(top: 10), BoxConstraints? constraints = const BoxConstraints.tightFor(width: 48, height: 5)})
-
const
Properties
- backgroundColor → Color?
-
final
- borderRadius → BorderRadius?
-
final
- constraints → BoxConstraints?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- margin → EdgeInsets?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
) → ThemeExtension< UIDragThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< UIDragThemeData> ? other, double t) → ThemeExtension<UIDragThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
covariant UIDragThemeData? other) → UIDragThemeData -
override
-
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