imgly_editor 1.36.0 imgly_editor: ^1.36.0 copied to clipboard
CreativeEditor SDK for Flutter - enable photo, video and design editing for your users on iOS and Android.
import 'package:flutter/material.dart';
import 'package:imgly_editor/imgly_editor.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: ElevatedButton(
onPressed: () async {
final settings = EditorSettings(license: "YOUR_LICENSE");
final _ = IMGLYEditor.openEditor(settings: settings);
},
child: const Text("Open Editor")),
),
),
);
}
}