Related questions
how to add custom color to flutter?
I want to change the color of AppBar and use a custom color for it, I tried many options but none seem to work.
Is there anything I'm missing?
import 'package:flutter/material.dart';
final ThemeData CompanyThemeData = new ThemeData(
brightness: …
How to set the text color of TextView in code?
In XML, we can set a text color by the textColor attribute, like android:textColor="#FF0000". But how do I change it by coding?
I tried something like:
holder.text.setTextColor(R.color.Red);
Where holder is just a class …