flutter_dartpad
एक डार्टपैड विजेट जो मोबाइल एप्लिकेशन के साथ एम्बेड किया जा सकता है। इसमें डार्टपैड एम्बेडिंग गाइड में प्रदान की गई सभी डिज़ाइनों का समर्थन होता है।
मोबाइल एप्लिकेशन के भीतर उपयोग किया जा सकने वाला 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 ↗