easy_split 0.1.0
easy_split: ^0.1.0 copied to clipboard
EasySplit:折叠屏与平板的平行视界(双栏)适配引擎。一个路由栈,窄屏全屏、宽屏自动左右分栏,页面代码零改动,支持 onGenerateRoute、MaterialApp.router 与 Navigator.pages。
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add easy_splitWith Flutter:
$ flutter pub add easy_splitThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
easy_split: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:easy_split/easy_split.dart';