How do you define Const colors in Flutter?

const Color(int value) : value = value & 0xFFFFFFFF ; const instances are canonicalized. If you have multiple const Color(0xFF00CCFF) in your code, only one instance will be created. const instances are evaluated at compile time.

Sizin İçin Seçtik  What colors does Flutter use?

Leave a Reply

Your email address will not be published. Required fields are marked *