Jaime Blasco

Reverse flutter 22 beta change

## [0.2.1+1-dev] - Fix Flutter 22 breaking change
## [0.2.1+2] - Reverse fix Flutter 22 beta breaking change
- https://github.com/jamesblasco/modal_bottom_sheet/issues/69
## [0.2.1+1-dev] - Fix Flutter 22 beta breaking change
- https://github.com/jamesblasco/modal_bottom_sheet/issues/69
## [0.2.0+1] - ScrollView bug fix
... ...
... ... @@ -8,6 +8,7 @@ class ModalWithNavigator extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Material(
child: Navigator(
onGenerateRoute: (_) => MaterialPageRoute(
... ... @@ -27,15 +28,22 @@ class ModalWithNavigator extends StatelessWidget {
(index) => ListTile(
title: Text('Item'),
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
Navigator.of(context).pushAndRemoveUntil(MaterialPageRoute(
builder: (context) => CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('New Page'),
),
child: Stack(
fit: StackFit.expand,
children: <Widget>[],
))));
children: <Widget>[
MaterialButton(
onPressed: () => Navigator.of(context).pop(),
child: Text('touch here'),
)
],
)
)
), ModalRoute.withName('/'));
},
)),
).toList(),
... ...
... ... @@ -92,7 +92,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.2.1+1-dev"
version: "0.2.1+2"
path:
dependency: transitive
description:
... ...
... ... @@ -300,7 +300,7 @@ class _ModalBottomSheetState extends State<ModalBottomSheet>
// Otherwise the calculate the velocity with a VelocityTracker
if (_velocityTracker == null) {
final pointerKind = defaultPointerDeviceKind(context);
_velocityTracker = VelocityTracker(pointerKind);
_velocityTracker = VelocityTracker();
_startTime = DateTime.now();
}
DragUpdateDetails dragDetails;
... ...
name: modal_bottom_sheet
description: 'Create awesome and powerful modal bottom sheets. Material, Cupertino iOS 13 or create your own style'
version: 0.2.1+1-dev
version: 0.2.1+2
homepage: 'https://github.com/jamesblasco/modal_bottom_sheet'
environment:
... ...