flutter_dartpad 0.0.1 copy "flutter_dartpad: ^0.0.1" to clipboard
flutter_dartpad: ^0.0.1 copied to clipboard

outdated

Dartpad which can be used inside mobile application

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,
        ),
      ),
    ),
  );
}
copied to clipboard

Following are the embedding choices:

EmbeddingChoice.dart
copied to clipboard
Dart Embedding
EmbeddingChoice.flutterShowcase
copied to clipboard
Dart Embedding
EmbeddingChoice.flutter
copied to clipboard
Dart Embedding
EmbeddingChoice.html
copied to clipboard
Dart Embedding
EmbeddingChoice.inline
copied to clipboard
Dart Embedding

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

22
likes
0
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.20 - 2025.04.04

Dartpad which can be used inside mobile application

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on flutter_dartpad