markdown_flutter 0.0.0 copy "markdown_flutter: ^0.0.0" to clipboard
markdown_flutter: ^0.0.0 copied to clipboard

A Markdown Flutter library.

example/lib/main.dart

// ignore_for_file: non_constant_identifier_names
 
import 'package:flutter/material.dart';
import "package:markdown_flutter/markdown_flutter.dart";
import 'package:play/play.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  Play.ensureInitialized();
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: App(),
    );
  }
}

class App extends StatefulWidget {
  const App({super.key});

  @override
  State<App> createState() => _AppState();
}

class _AppState extends State<App> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: MarkdownFlutterWidget(
        data: content_data,
      ),
    );
  }

  String get content_data => """

<h3 align="center">
  Welcome to Azkadev's profile!
  <img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="28">
</h3>

# Neural Text To Speech

Neural Text To Speech Library untuk menghasilkan suara realistis seperti natural di bahasa dart, neural text to speech ini berjalan tanpa perlu koneksi internet dan hanya membutuhkan cpu saja

### Demo

[![](https://raw.githubusercontent.com/azkadev/ntts_dart/main/.github/youtube_ntts.jpg)](https://youtu.be/IfOJs7OUH8o)

 
<video src="https://www.youtube.com/watch?v=HjgD6ZhSFIA">
<custom sas="ad\nadada\nad" kk=k>
 
---


## More Update And More Features?

Indonesia: jika anda ingin saya maintance terus project ini silahkan [donate ke saya](https://github.com/sponsors/azkadev)
<br>
English: if you want me to continue to maintain this project please [donate to me](https://github.com/sponsors/azkadev)

 

### TESTED ON

| NO | OS                  | CPU                 | RAM |
|----|---------------------|---------------------|-----|
| 1  | Ubuntu 22.04        | AMD RYZEN 5500U     | 8GB |
| 2  | Ubuntu Server 22.04 | Intel Celeron n2940 | 4GB |


### Resources

| No | Name                                                                                                            |
|----|-----------------------------------------------------------------------------------------------------------------|
| 1  | [MODEL TTS ENGLISH](https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-libritts-high.tar.gz) |


### Dependencies

```
void main() {

}
```
"""
      .trim();
}