v0.0.3
flutter_dartpad
一個可嵌入行動應用程式的 Dartpad 小工具。它支援 Dartpad 嵌入指南中提供的所有設計。
22喜歡 64近 30 天下載160Pub 分數
AndroidiOSmacOS
可在移動應用程式中使用的 Dartpad
以下為英文專案原文快照,最新內容請造訪 GitHub。
A dart pad which can be easily embedded to mobile application with the help of web view.
Supports all the features listed in dart pad embedding guide
NOTE: Performance won't be great as it is working on web view.
import 'package:flutter/material.dart';
import 'package:flutter_dartpad/flutter_dartpad.dart';
void main() {
runApp(
MaterialApp(
home: Scaffold(
body: DartPad(
code: 'void main() => print("Hello DartPad Widget");',
embeddingChoice: EmbeddingChoice.dart,
),
),
),
);
}
Following are the embedding choices:
EmbeddingChoice.dart
EmbeddingChoice.flutterShowcase
EmbeddingChoice.flutter
EmbeddingChoice.html
EmbeddingChoice.inline
Inspired to make this package and some code was borrowed from dart_pad_widget
依賴清單 4 項
{"sdk":"flutter"}^4.0.6{"sdk":"flutter"}^2.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗