FlexiFluid3 class

A class that handles multi-stage fluid scaling across three breakpoints.

It interpolates values smoothly between mobile -> tablet and tablet -> desktop based on the current screen width.

Annotations

Constructors

FlexiFluid3({required double mobile, required double tablet, required double desktop})
const

Properties

desktop → double
The value to use at the desktop breakpoint.
final
hashCode → int
The hash code for this object.
no setterinherited
mobile → double
The value to use at the mobile breakpoint.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tablet → double
The value to use at the tablet breakpoint.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(BuildContext context) → double
Resolves the fluid value based on the current context.
toString() → String
A string representation of this object.
inherited

Operators

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