Этот репозиторий содержит Flutter плагины для платформы ОС Аврора.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// SPDX-FileCopyrightText: Copyright 2023 Open Mobile Platform LLC <community@omp.ru>
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
import 'package:scoped_model/scoped_model.dart';
|
|
|
|
|
|
|
|
/// Model for [FlutterMarkdownPage]
|
|
|
|
class FlutterMarkdownModel extends Model {
|
|
|
|
/// Get [ScopedModel]
|
|
|
|
static FlutterMarkdownModel of(BuildContext context) =>
|
|
|
|
ScopedModel.of<FlutterMarkdownModel>(context);
|
|
|
|
|
|
|
|
final String data = '''
|
|
|
|
An h1 header
|
|
|
|
============
|
|
|
|
|
|
|
|
Paragraphs are separated by a blank line.
|
|
|
|
|
|
|
|
2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
|
|
|
|
look like:
|
|
|
|
|
|
|
|
* this one
|
|
|
|
* that one
|
|
|
|
* the other one
|
|
|
|
|
|
|
|
Note that --- not considering the asterisk --- the actual text
|
|
|
|
content starts at 4-columns in.
|
|
|
|
|
|
|
|
> Block quotes are
|
|
|
|
> written like so.
|
|
|
|
>
|
|
|
|
> They can span multiple paragraphs,
|
|
|
|
> if you like.
|
|
|
|
|
|
|
|
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
|
|
|
|
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
|
|
|
|
Unicode is supported. ☺
|
|
|
|
|
|
|
|
## Image
|
|
|
|
|
|
|
|
![Minion](https://github.com/keygenqt/awesome-aurora/blob/master/docs/assets/images/common/aurora.png?raw=true)
|
|
|
|
''';
|
|
|
|
}
|