grex_floating_view 0.0.6 grex_floating_view: ^0.0.6 copied to clipboard
Flutter In App Floating View (Picture in Picture mode)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add grex_floating_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
grex_floating_view: ^0.0.6
Alternatively, 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:grex_floating_view/constants/defaults.dart';
import 'package:grex_floating_view/enums/grx_aspect_ratio.enum.dart';
import 'package:grex_floating_view/extensions/grx_alignment.extension.dart';
import 'package:grex_floating_view/extensions/grx_aspect_ratio.extension.dart';
import 'package:grex_floating_view/grx_floating_view.dart';
import 'package:grex_floating_view/handlers/grx_floating_view.handler.dart';
import 'package:grex_floating_view/models/grx_alignment_distance.model.dart';
import 'package:grex_floating_view/models/grx_floating_button_options.model.dart';
import 'package:grex_floating_view/models/grx_floating_view_options.model.dart';
import 'package:grex_floating_view/models/grx_floating_view_style.model.dart';
import 'package:grex_floating_view/models/grx_position.model.dart';
import 'package:grex_floating_view/services/grx_floating_view.service.dart';
import 'package:grex_floating_view/widgets/grx_floating_view.widget.dart';
import 'package:grex_floating_view/widgets/grx_floating_view_consumer.widget.dart';