How to create a global TextStyle in Flutter?
In my home page in build widget before return statement I use below code.If I create an another widget in my home page I have to copy below code before each return statement. If you create another...
View ArticleApply text syle to a regex pattern in google sheet cells
I would like to get parts of strings (by regex) into a specific text style, but I can't manage the loop and always get errors. Could you please help me ? Thank you so much.In the first row is the...
View ArticleHow to make translucent text in CSS? [closed]
How to create semi-translucent text like in beginning of that website https://superscene.pro/I really wonder how to make text stay with define color and become translucent when there is object behind...
View ArticleThe Label Color doesn't change on the BottomNavigationBar
The color of the labels of my selected and unselected BottomNavigationBarItems doesn't change... what am I doing wrong? Here is the code:bottomNavigationBar: BottomNavigationBar( selectedLabelStyle:...
View ArticleI want to change the TextStyle of the items appear in DropdownSearch which...
Transform.scale(scale: 0.91,child: DropdownSearch(validator: (v) => v == null ? "required field" : null,hint: "Select a country",dropdownSearchDecoration: InputDecoration( //filled: true,...
View ArticleText underline display line above text instead of below
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(...
View ArticleApp's global ThemeData not working properly in flutter?
I want to use ThemeData's textTheme for global using in my app , And the textTheme is only change the font and color.But As you can see in the picture , there will be a obvious difference between the...
View ArticleFlutter TextStyle / fontSize
I would like the TextStyle / fontSize to simplify my app.for this it would be necessary to make the line "fontSize: Get.width * .030," of the attached code available, similar to the color "{Color color...
View Articleincrease textsize on button press flutter
I am new to flutter and i am trying a simple function ..i have a page with a text and a raised button i want to increase the text size by 1.0 each time the button is pressed ..i have tried this but it...
View ArticleFlutter TextStyle (not TextTheme) difference between apply() and copyWith()
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...
View ArticleWhy the label of BottomNavigationBarItem doesn't change after clicking?
The color of the labels of my selected and unselected BottomNavigationBarItems doesn't change... I have tried many ways, such likeselectedItemColor: Colors.blue,unselectedItemColor:...
View ArticleHow to use UIFontMetrics in storyboard in swift 5
I am Kickbell.I'm trying to improve accessibility in my app.So, I am solving the problem by referring to the official documentation...
View ArticleCustom fontweigh otherthan given 9 constants by dart like (550) - Flutter
I want to use custom fontweight in my text style otherthan flutter given 100, 200 ----- 900 font weights, like Fontweight.w550 or (550 as int).tried to achieve with this but it doesn't worked out...
View ArticleHow to use a specific font from a font family
so, I'm using android studio, and in my pubspec, I've added say poppins-regular, poppins-bold, poppin-italics, poppins-semiBold, all under the same family:poppins and in different parts of my code, I...
View ArticleFlutter upgrade to 2.5.3 causing deprecated issue in TextStyle color
'buttonColor' is deprecated and shouldn't be used. No longer used by the framework,please remove any reference to it. This feature was deprecated after v2.3.0-0.2.pre.Below is the code causing the...
View Articleedit contents of elements based on custom markers (like ** bold **)
I was wondering if it was possible to change text-styles if there is a marker surrounding the text (like in discord messages) My approach would be to first get all the elements of the page that...
View ArticleFlutter external text-style-sheet
I want to make a flutter app and in this app all the text styles should e similar. So, I want to have, like css, a stylesheet with e.g. 3 different textstyles and when I want to use one of that, I can...
View ArticleMulti style text editing for TextField composable in android jetpack compose
I want to change the text style (fontSize , color , fontWeight , ...) of a selected text in a TextFiled() composable , with a button in android jetpack compose.(The main problem is, when i change the...
View ArticleApply multiple style on TextView
I want to apply multiple text-style on textview programmatically in android.val myView : TextView = findViewById(R.id.date_title)// now I want to apply - Bold & italic style on myView at same time...
View ArticleAssign an attribute to android.TextStyle
I have an attribute to define font weight of TextView in android like this (in attr.xml):<attr name="textViewWeight">And in the styles.xml I assign this attribute with value:<item...
View Article--- Article Not Found! ---
*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***
View Article--- Article Not Found! ---
*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***
View ArticleText doesn't accept new FontWeight of modified TextStyle
I have a TextStyle called headline2, which is bold. Now I want to have a text with headline2, but not in bold. I can modify headline2 with textTheme.headline2!.copyWith(fontWeight:...
View Articleflutter firebase: Change property with corresponding data
I have an app where a collection has a field 'Status'. This field changes with the use of streamBuilder. works well. I can access the updated changes.However, I want to change the TextStyle of that...
View ArticleWhy doesn't ThemeData's fontFamily apply to all text like AppBar, Tab, etc
I finally found out.I set the fontFamily as follows.@overrideWidget build(BuildContext context) { return GetMaterialApp( theme: ThemeData( fontFamily: 'YourAwesomeFontFamily', ), ..., );}And I wanted...
View Articlehow to change font weight of material button in android?
I want to change the fornt weight of text in material button?here is my codeButton Code:<com.google.android.material.button.MaterialButton style="@style/my_style" android:layout_width="wrap_content"...
View ArticleFlutter default text fallback not working on android. Works on ios and web
I have a Flutter app that uses the font "ArchitypeRenner". The app also supports multiple languages. For some languages like Belarusian (Беларуская), I understand that the font "ArchitypeRenner" does...
View ArticleJetpack compose text styling
In my current project utilizing Jetpack Compose, I'm tasked with enabling users to input data while also providing functionality to style text with options like bold or italic upon clicking buttons....
View ArticleHow can I use font Inter style in Jetpack compose for specific Text field
How can I use font Inter style in Jetpack compose:Text( text = "", style = TextStyle( fontSize = 14.sp, lineHeight = 20.sp, fontFamily = FontFamily.Default, fontWeight = FontWeight(500), fontStyle =...
View ArticleMultiple textstyles in Textfield in Flutter
In my app, users can write in English as well as Arabic. So for English, I want to use "Poppins" as font style, and for Arabic, I want to use "sfArabic". I did not find any proper solution for...
View Article
More Pages to Explore .....