Closed liaovq closed 3 years ago
It's part of the material icon font: https://fonts.google.com/icons?icon.query=dark+mode
Also, you can see the icon in the flutter framework source code; search for dark_mode
in this file: https://raw.githubusercontent.com/flutter/flutter/master/packages/flutter/lib/src/material/icons.dart
Also, you can see the icon in the flutter framework source code; search for
dark_mode
in this file: https://raw.githubusercontent.com/flutter/flutter/master/packages/flutter/lib/src/material/icons.dart
Through this link, I realized that our flutter sdk has a different channel, and I also saw the added icon after switching from stable to master, thanks
The above code is in
example/lib/main.dart
, where Icons.dark_mode and Icons.light_mode will prompt an error:and I didn't find the corresponding icon in the following two sites either
version: