Issue The color of the labels of my selected and unselected BottomNavigationBarItems doesn’t change… I have tried many ways, such like selectedItemColor: Colors.blue, unselectedItemColor: Colors.black, and unselectedLabelStyle: const TextStyle(color: Colors.grey, fontSize: 14), selectedLabelStyle: const TextStyle(color: Colors.blue, fontSize: 14), and so
Continue readingTag: textstyle
Why the label of BottomNavigationBarItem doesn't change after clicking?
Issue The color of the labels of my selected and unselected BottomNavigationBarItems doesn’t change… I have tried many ways, such like selectedItemColor: Colors.blue, unselectedItemColor: Colors.black, and unselectedLabelStyle: const TextStyle(color: Colors.grey, fontSize: 14), selectedLabelStyle: const TextStyle(color: Colors.blue, fontSize: 14), and so
Continue readingFlutter TextStyle (not TextTheme) difference between apply() and copyWith()
Issue I’m creating theme for my app. I’m confusing these 2 methods (apply, copyWith) of TextStyle. What should be used? There’re also 2 methods with the same names in TextTheme. I understand them, but can not get the idea in
Continue readingHow to set textStyle of a Cupertino app in flutter
Issue I have a CupertinoApp and I would like to apply a custom TextStyle to all the screen/object of my app. For example I would lie to set a font family to all Text widget & Dialog widget and use
Continue readingText underline display line above text instead of below
Issue As showing the given image After applying underline decoration text style to the text it shows line above text instead of below in flutter 2.2. TextButton( onPressed: () {}, child: Text( getLocalValue(context, txtTermsNConditions), style: TextStyle( fontSize: 12.sp, fontWeight: fwMedium,
Continue reading