BsVisibility class Null safety

If you need to hide some widget in some breakpoint use BsVisibility This helpful to create responsive layout

Constructors

BsVisibility({required List<String> breakPoints})
const

Properties

breakPoints List<String>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

block → const BsVisibility
Will show in all breakpoint
BsVisibility(breakPoints: [BreakPoint.stateXs, BreakPoint.stateSm, BreakPoint.stateMd, BreakPoint.stateLg, BreakPoint.stateXl, BreakPoint.stateXxl])
hiddenLg → const BsVisibility
Will hide in (BreakPoint.stateSm, BreakPoint.hiddenMd, BreakPoint.hiddenMd) breakpoint
BsVisibility(breakPoints: [BreakPoint.stateXl, BreakPoint.stateXxl])
hiddenMd → const BsVisibility
Will hide in (BreakPoint.stateSm, BreakPoint.hiddenMd) breakpoint
BsVisibility(breakPoints: [BreakPoint.stateLg, BreakPoint.stateXl, BreakPoint.stateXxl])
hiddenSm → const BsVisibility
Will hide in BreakPoint.stateSm breakpoint
BsVisibility(breakPoints: [BreakPoint.stateMd, BreakPoint.stateLg, BreakPoint.stateXl, BreakPoint.stateXxl])
hiddenXl → const BsVisibility
Will hide in (BreakPoint.stateSm, BreakPoint.hiddenMd, BreakPoint.hiddenMd, [BreakPoint.stateXl) breakpoint
BsVisibility(breakPoints: [BreakPoint.stateXxl])
hiddenXxl → const BsVisibility
Will only show on BreakPoint.stateXxl screen device
BsVisibility(breakPoints: [])
none → const BsVisibility
Will hide in all screen device
BsVisibility(breakPoints: [])