appflowy_editor 1.0.0-dev.3 copy "appflowy_editor: ^1.0.0-dev.3" to clipboard
appflowy_editor: ^1.0.0-dev.3 copied to clipboard

A highly customizable rich-text editor for Flutter. The AppFlowy Editor project for AppFlowy and beyond.

example/lib/main.dart

import 'package:example/home_page.dart';
import 'package:flutter/material.dart';

import 'package:flutter_localizations/flutter_localizations.dart';

import 'package:appflowy_editor/appflowy_editor.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      localizationsDelegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        AppFlowyEditorLocalizations.delegate,
      ],
      supportedLocales: [Locale('en', 'US')],
      debugShowCheckedModeBanner: false,
      home: MyHomePage(title: 'AppFlowyEditor Example'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const HomePage();
  }
}
400
likes
0
pub points
92%
popularity

Publisher

verified publisherappflowy.io

A highly customizable rich-text editor for Flutter. The AppFlowy Editor project for AppFlowy and beyond.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, flutter_localizations, flutter_svg, html, intl, intl_utils, logging, markdown, nanoid, provider, rich_clipboard, tuple, url_launcher, visibility_detector

More

Packages that depend on appflowy_editor