FSize class

Constructors

FSize.new({required String size, required String? sizeTablet, required 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, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({String? size, String? sizeTablet, String? sizeDesktop}) FSize
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) FSize

Operators

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

Static Methods

convertListToCode(String? value) String
convertTypeToCode(SizeUnit? unit) String
fromJson(Map<String, dynamic> json) FSize
ready() FSize