BoxShadow class Null safety

Implemented types

Constructors

BoxShadow({Color color, Offset offset, double blurRadius, double spreadRadius, BlurStyle blurStyle})
const
factory
BoxShadow.fromJson(Map<String, dynamic> json)
factory

Properties

blurRadius double
read-only, override
blurStyle BlurStyle
read-only
color Color
read-only, override
copyWith → _$$BoxShadowCopyWith<_$BoxShadow>
@JsonKey(ignore: true), read-only, override
hashCode int
The hash code for this object.
read-only, inherited
offset Offset
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
spreadRadius double
read-only

Methods

map<TResult extends Object?>(TResult $default(_Shadow value), {required TResult box(BoxShadow value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>(TResult? $default(_Shadow value)?, {TResult? box(BoxShadow value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_Shadow value)?, {TResult box(BoxShadow value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(Color color, Offset offset, double blurRadius)?, {TResult box(Color color, Offset offset, double blurRadius, double spreadRadius, BlurStyle blurStyle)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(Color color, Offset offset, double blurRadius), {required TResult box(Color color, Offset offset, double blurRadius, double spreadRadius, BlurStyle blurStyle)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>(TResult? $default(Color color, Offset offset, double blurRadius)?, {TResult? box(Color color, Offset offset, double blurRadius, double spreadRadius, BlurStyle blurStyle)?}) → TResult?
@optionalTypeArgs, inherited

Operators

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