ResponsiveBreakpointSegment class Null safety

Computed breakpoint segments.

Breakpoint segments are computed from 0 to infinity. The breakpoint specifies the start position for the segmentType. The segmentType specifies the computed segment behavior. The responsiveBreakpoint holds the active breakpoint and controls the segment behavior.

Annotations

Constructors

ResponsiveBreakpointSegment({required double breakpoint, required ResponsiveBreakpointBehavior segmentType, required ResponsiveBreakpoint responsiveBreakpoint})
const

Properties

breakpoint double
final
hashCode int
The hash code for this object. [...]
read-only, override
isAutoScale → dynamic
read-only
isAutoScaleDown → dynamic
read-only
isResize → dynamic
read-only
isTag → dynamic
read-only
responsiveBreakpoint ResponsiveBreakpoint
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
segmentType ResponsiveBreakpointBehavior
final

Methods

copyWith({double? breakpoint, ResponsiveBreakpointBehavior? segmentType, ResponsiveBreakpoint? responsiveBreakpoint}) ResponsiveBreakpointSegment
merge(ResponsiveBreakpointSegment responsiveBreakpointSegment) ResponsiveBreakpointSegment
Merge overwrite operation. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override