flutter_screen_recording 2.0.18 copy "flutter_screen_recording: ^2.0.18" to clipboard
flutter_screen_recording: ^2.0.18 copied to clipboard

A new Flutter plugin for record the screen. This plugin can be used for record the screen on android, iOS, and web devices.

flutter_screen_recording #

A new Flutter plugin for record the screen. This plug-in requires Android SDK 21+ and iOS 10+

Getting Started #

This plugin can be used for record the screen on Android and iOS devices.

  1. For start the recording
bool started = FlutterScreenRecording.startRecordScreen(videoName);

Or

bool started = FlutterScreenRecording.startRecordScreenAndAudio(videoName);
  1. For stop the recording
String path = FlutterScreenRecording.stopRecordScreen;

Android #

Flutter_Screen_Recorder do not request permissions necessary. You can use Permission_handler, a permissions plugin for Flutter. Require and add the following permissions in your manifest:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />

To your Android Manifest, under the <application> tag, add the following:

<service
	android:name="com.foregroundservice.ForegroundService"
	android:foregroundServiceType="mediaProjection">
</service>

iOS #

You only need add the permission message on the Info.plist

<key>NSPhotoLibraryUsageDescription</key>
<string>Save video in gallery</string>
<key>NSMicrophoneUsageDescription</key>
<string>Save audio in video</string>

Web #

This plugin compiles for the web platform since version 2.0.0.

154
likes
120
points
1.53k
downloads

Publisher

verified publisherisvisoft.com

Weekly Downloads

A new Flutter plugin for record the screen. This plugin can be used for record the screen on android, iOS, and web devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_foreground_task, flutter_screen_recording_platform_interface, flutter_screen_recording_web

More

Packages that depend on flutter_screen_recording