imgly_editor 1.34.0 imgly_editor: ^1.34.0 copied to clipboard
CreativeEditor SDK editors for Flutter.
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")),
),
),
);
}
}