flutter_floating 0.0.1 flutter_floating: ^0.0.1 copied to clipboard
The Flutter perposition-free suspension window supports global and single page suspension, edge adsorption, rebound, position saving, sliding up and down area control, and position repair after screen [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_floating
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_floating: ^0.0.1
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:flutter_floating/button_widget.dart';
import 'package:flutter_floating/floating/assist/animation_helper.dart';
import 'package:flutter_floating/floating/assist/floating_data.dart';
import 'package:flutter_floating/floating/assist/floating_slide_type.dart';
import 'package:flutter_floating/floating/assist/hide_control.dart';
import 'package:flutter_floating/floating/floating.dart';
import 'package:flutter_floating/floating/listener/floating_listener.dart';
import 'package:flutter_floating/floating/manager/floating_manager.dart';
import 'package:flutter_floating/floating/utils/floating_log.dart';
import 'package:flutter_floating/floating/view/floating_view.dart';
import 'package:flutter_floating/floating_increment.dart';
import 'package:flutter_floating/main.dart';
import 'package:flutter_floating/page.dart';