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

A Dartpad widget which can be embed with mobile application. It supports all the designs provided in dartpad embedding guide.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_dartpad/flutter_dartpad.dart';

void main() {
  runApp(
    const MaterialApp(
      home: SafeArea(
        child: Scaffold(
          body: Dartpad(
            darkMode: false,
            runImmediately: true,
            embeddingChoice: EmbeddingChoice.inline,
            code: 'void main() { print("Hello DartPad");}',
          ),
        ),
      ),
    ),
  );
}
22
likes
160
pub points
0%
popularity

Publisher

unverified uploader

A Dartpad widget which can be embed with mobile application. It supports all the designs provided in dartpad embedding guide.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on flutter_dartpad