primary top-level property Null safety

NBColor primary
read / write

NativeBaseColor is use to get the list of color palette available in NativeBase theme. Primary color for this theme is NativeBaseColor.violet which internally returns the shade of violet.shade500

Implementation

// late NBColor danger;
// late NBColor error;
// late NBColor success;
// late NBColor warning;
// late NBColor muted;
NBColor primary = cyan;