FLUTTER ECOSYSTEM

aswanath/flutter_dartpad

可在移動應用程式中使用的 Dartpad

flutter_dartpad 專案封面
Stars
7
Forks
0
最近推送(UTC)
2023年3月12日
專案狀態
未封存
Aswanath C K GitHub avatar
GITHUB User

Aswanath C K ↗

"I am a young and passionate mobile app developer who has chosen Flutter as my companion." idk if I am young anymore - life is getting serious.

ASBLPalakkad, Kerala官方網站 ↗
語言C++CMakeDartHTMLRubyCSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

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
Dart Embedding
EmbeddingChoice.flutterShowcase
Flutter Showcase Embedding
EmbeddingChoice.flutter
Flutter Embedding
EmbeddingChoice.html
HTML Embedding
EmbeddingChoice.inline
Inline Embedding

Inspired to make this package and some code was borrowed from dart_pad_widget