flutter_share_pro 0.0.3
flutter_share_pro: ^0.0.3 copied to clipboard
Advanced sharing functionality with custom share sheets and content preview
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_share_proThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_share_pro: ^0.0.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_share_pro/app/app.dart';
import 'package:flutter_share_pro/core/bloc_observer.dart';
import 'package:flutter_share_pro/core/constants/app_constants.dart';
import 'package:flutter_share_pro/core/services/custom_image_picker_service.dart';
import 'package:flutter_share_pro/core/services/custom_path_service.dart';
import 'package:flutter_share_pro/core/services/custom_sharing_service.dart';
import 'package:flutter_share_pro/core/services/custom_url_launcher_service.dart';
import 'package:flutter_share_pro/core/services/sharing_service.dart';
import 'package:flutter_share_pro/core/theme/app_theme.dart';
import 'package:flutter_share_pro/core/utils/platform_detector.dart';
import 'package:flutter_share_pro/core/utils/validators.dart';
import 'package:flutter_share_pro/features/sharing/domain/bloc/sharing_bloc.dart';
import 'package:flutter_share_pro/features/sharing/domain/bloc/sharing_event.dart';
import 'package:flutter_share_pro/features/sharing/domain/bloc/sharing_state.dart';
import 'package:flutter_share_pro/features/sharing/presentation/pages/home_page.dart';
import 'package:flutter_share_pro/features/sharing/presentation/widgets/content_preview.dart';
import 'package:flutter_share_pro/features/sharing/presentation/widgets/share_button.dart';
import 'package:flutter_share_pro/main.dart';