FFontSize class
FFontSize is a feature that allows you to change the size of the text
- Annotations
Constructors
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 → double
-
Value of size of FFontSize
final
- sizeDesktop → double?
-
final
- sizeTablet → double?
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - unit → SizeUnit
-
final
Methods
-
copyWith(
{double? size, double? sizeTablet, double? sizeDesktop}) → FFontSize -
get(
BuildContext context) → double - Get current value of size
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns double to Json
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double value, BuildContext context, DeviceType deviceType) → FFontSize
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited