ns_utils library

Classes

C0
C1
C2
C3
C4
C5
C6
C8
C10
C15
C20
C30
C40
C50
C100
C150
FontSizes
NSUtils
P1
P2
P5
P8
P10
P20
P30
P40
PH10
Sizes
Adapting screen and font size. Let your UI display a reasonable layout on different screen sizes!
StackX<T>

Extensions

ContextExtensions
DateExtensions
doubleExtensions
GestureDetectorExtensions
IntExtensions
ListExtensions
extension methods for List
MapExtensions
extension methods for Map
StringExtensions
WidgetsExtension

Properties

defaultScreenHeight double
read / write
defaultScreenWidth double
read / write
screenHeight double
read / write
screenWidth double
read / write

Functions

toDouble(Object value, {double defaultValue = defaultDouble}) double
Parse to double or returns defaultValue
toEncodable(dynamic object) → dynamic
toInt(Object value, {int defaultValue = defaultInt}) int
Parse to int or returns defaultValue