miroru_story_editor 1.1.0 copy "miroru_story_editor: ^1.1.0" to clipboard
miroru_story_editor: ^1.1.0 copied to clipboard

miroru story editor is built with an emphasis on ease of theme customization and a modern, extensible architecture. It adheres to Material Design guidelines using ThemeData for all theming, simplifyin [...]

miroru

miroru

Features #

miroru story editor is built with an emphasis on ease of theme customization and a modern, extensible architecture. It adheres to Material Design guidelines using ThemeData for all theming, simplifying the process of modifying the app's look and feel.

Intelligent Theme Adaptation Automatically adjusts the theme between dark and light modes based on the brightness of the selected background image, enhancing user experience and readability.

Quick Theme Customization Thanks to the utilization of ThemeData, changing themes to match your preferences or brand identity is straightforward and efficient.

Designed for Flexibility Our architecture ensures easy customization and future expansion, keeping miroru story editor at the forefront of technology advancements.

Getting started #

  $ flutter pub add miroru_story_editor

Usage #

FilledButton(
  onPressed: () async {
    if (Platform.isAndroid) {
      final deviceInfo = DeviceInfoPlugin();
      final androidInfo = await deviceInfo.androidInfo;
      if (androidInfo.version.sdkInt >= 33) {
        await Permission.photos.request();
      } else {
        await Permission.storage.request();
      }
    } else {
      await Permission.photos.request();
    }

    final file = await ImagePicker().pickImage(
      source: ImageSource.gallery,
    );
    if (file == null) {
      return;
    }

    if (!context.mounted) {
      return;
    }

    final imageData = await showMiroruStoryEditor(
      context,
      imageFile: File(file.path),
    );

    if (imageData == null) {
      return;
    }

      setState(() {
        image = imageData;
      });
    },
    child: const Text('open miroru story editor'),
  ),

Change Theme #

you can use #ThemeDataDto


  await showMiroruStoryEditor(
      context,
      imageFile: File(file.path),
      themeDataDto: ThemeDataDto(
        themeLight: yourLightTheme,
        themeDark: yourDarkTheme,
      ),
  );
4
likes
0
pub points
48%
popularity

Publisher

verified publishermiroru.com

miroru story editor is built with an emphasis on ease of theme customization and a modern, extensible architecture. It adheres to Material Design guidelines using ThemeData for all theming, simplifying the process of modifying the app's look and feel.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

align_positioned, animated_emoji, blurhash_dart, collection, flutter, flutter_blurhash, flutter_hooks, flutter_localizations, font_awesome_flutter, freezed_annotation, google_fonts, hooks_riverpod, image, intl, ionicons, matrix4_transform, matrix_gesture_detector_pro, perfect_freehand, riverpod_annotation, sliver_tools, unicode_emojis, uuid

More

Packages that depend on miroru_story_editor