Click here to Skip to main content
15,948,339 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want use a google fonts icon. I have Code point (e88e, info icon). But i cannot get right icon. How can i get icon from google icons by Code point? Thanks.

This is icon link:

Material Symbols and Icons - Google Fonts[^]

Dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(child: Row(children: [
          Text("This is not right icon :"),
          const Icon(IconData(0xe88e, fontFamily: 'Material+Symbols+Outlined:opsz'), size: 40.0, color: Color.fromARGB(255, 253, 183, 6))
        ]) )  
      ),
    );
  }
}


What I have tried:

Icon icn = const Icon(IconData(0xe88e, fontFamily: 'Material+Symbols+Outlined:opsz'), size: 20.0, color: Color.fromARGB(255, 253, 183, 6));
Posted
Updated 9-Mar-24 10:37am
v2
Comments
Andre Oosthuizen 9-Mar-24 5:22am    
You need to be more clear on your question as it does not make sense right now. From what I could gather, you want to change the icon's look by editing it's properties? On the right of the page, it gives you the code that you can edit the properties.
gacar 9-Mar-24 16:25pm    
Thanks for your response. I asked this question in more detail on stackoverflow.
https://stackoverflow.com/questions/78129618/how-can-i-get-icon-from-google-icons-by-code-point

1 solution

Quote:
Thanks for your response. I asked this question in more detail on stackoverflow.


Unfortunately I will not be visiting StackOverflow to view your question, I doubt i if anyone else would.

Please give full detail here by using the Improve Question[^] to enable us to give a proper answer/guidance.
 
Share this answer
 
v2
Comments
gacar 11-Mar-24 17:26pm    
What is not understood in the question?
Andre Oosthuizen 12-Mar-24 12:07pm    
Your question itself. you are saying that you can get the info icon, then you say you you cannot get the right icon, it does not make sense. See the other comment as well, not sure what you are asking. So I went to your stackoverflow question, why ask it correctly there with samples so it could make sense to us here?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900