FSizeRange class
Constructors
- FSizeRange({String? size, String? sizeTablet, String? sizeDesktop})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → String?
-
final
- sizeDesktop → String?
-
final
- sizeTablet → String?
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
copyWith(
{String? size, String? sizeTablet, String? sizeDesktop}) → FSizeRange -
get(
{required BuildContext context, required bool isWidth}) → double? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String - A string representation of this object.
-
updateSize(
String? newValue, BuildContext context, DeviceType deviceType) → FSizeRange
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertListToCode(
String? value) → String -
convertTypeToCode(
SizeUnit? unit) → String -
fromJson(
Map< String, dynamic> json) → FSizeRange -
ready(
) → FSizeRange