NB: Some of these may not support the full coverage for all of the Arabic characters defined in Unicode.
| Name | Style | Google Fonts | License | Preview |
|---|---|---|---|---|
| Noto Naskh Arabic | Naskh | no | OFL 1.1 | |
| Noto Kufi Arabic | Kufic | no | OFL 1.1 | |
| Noto Sans Arabic | Modern | no | OFL 1.1 |
NB: Some of these may not support the full coverage for all of the Arabic characters defined in Unicode.
| Name | Style | Google Fonts | License | Preview |
|---|---|---|---|---|
| Noto Naskh Arabic | Naskh | no | OFL 1.1 | |
| Noto Kufi Arabic | Kufic | no | OFL 1.1 | |
| Noto Sans Arabic | Modern | no | OFL 1.1 |
I found that the "best" way is to use HTML, as it works both in Readme/.md files and also in comments (within Issues, Gist...)
E.g. when adding/editing a comment (within Issues, Gist...) :
 with <img src="https://your-image-url.type" width="100" height="100">As mentioned by @cbestow (thanks!), it's not mandatory to set both width and height. If only one is set, the other will be adjusted accordingly to preserve the aspect ratio of the image.
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. | |
| @override | |
| Widget build(BuildContext context) { |
| import 'dart:async'; | |
| import 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(TestApp()); | |
| class TestApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| theme: ThemeData( | |
| primaryColor: Colors.green[900], |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( | |
| title: 'LogIn n SignUp', | |
| theme: ThemeData( |
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( |
| import UIKit | |
| @UIApplicationMain | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
| let window = UIWindow(frame: UIScreen.main.bounds) |
| Roots for record 0 (stored at leaf 0): [ 0 ] | |
| 0: 0 | |
| Roots for record 1 (stored at leaf 2): [ 1 ] | |
| 0: 0─┐ | |
| 1 | |
| 1: 2─┘ | |
| Roots for record 2 (stored at leaf 4): [ 1, 4 ] | |
| 0: 0─┐ |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Demo', | |
| theme: ThemeData( |