Jaime Blasco

fix: format files

... ... @@ -80,7 +80,6 @@ class _CupertinoBooksAppState extends State<CupertinoBooksApp> {
}
}
class BooksListScreen extends StatelessWidget {
const BooksListScreen({
required this.books,
... ...
... ... @@ -80,7 +80,6 @@ class _BooksAppState extends State<BooksApp> {
}
}
class BooksListScreen extends StatelessWidget {
const BooksListScreen({
required this.books,
... ...
... ... @@ -34,35 +34,34 @@ class _FitSheetState extends State<FitResizableSheet> {
@override
Widget build(BuildContext context) {
return Sheet(
elevation: 4,
resizable: true,
minResizableExtent: 200,
physics: const SnapSheetPhysics(
stops: <double>[0, 200, double.infinity],
relative: false,
parent: BouncingSheetPhysics(),
),
child: Container(
height: 500,
child: Scaffold(
backgroundColor: Colors.white,
body: const Center(
child: Text('Hello'),
),
bottomNavigationBar: BottomAppBar(
elevation: 4,
child: Row(
children: <Widget>[
IconButton(
icon: const Icon(Icons.access_alarm), onPressed: () {})
],
),
return Sheet(
elevation: 4,
resizable: true,
minResizableExtent: 200,
physics: const SnapSheetPhysics(
stops: <double>[0, 200, double.infinity],
relative: false,
parent: BouncingSheetPhysics(),
),
child: Container(
height: 500,
child: Scaffold(
backgroundColor: Colors.white,
body: const Center(
child: Text('Hello'),
),
bottomNavigationBar: BottomAppBar(
elevation: 4,
child: Row(
children: <Widget>[
IconButton(
icon: const Icon(Icons.access_alarm), onPressed: () {})
],
),
),
),
controller: controller,
),
controller: controller,
);
}
}
... ...
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:sheet/sheet.dart';
... ... @@ -33,14 +32,13 @@ class _NoMomentumSheetState extends State<NoMomentumSheet> {
@override
Widget build(BuildContext context) {
return Sheet(
minExtent: 100,
maxExtent: 400,
elevation: 4,
physics: const NoMomentumSheetPhysics(),
child: Container(),
controller: controller,
return Sheet(
minExtent: 100,
maxExtent: 400,
elevation: 4,
physics: const NoMomentumSheetPhysics(),
child: Container(),
controller: controller,
);
}
}
... ...
... ... @@ -3,8 +3,6 @@ import 'package:example/sheet_example_page.dart';
import 'package:flutter/material.dart';
import 'package:sheet/route.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
... ...
export 'src/route/base_route_extended.dart';
export 'src/route/cupertino/sheet_route.dart';
export 'src/route/delegated_transitions_route.dart';
export 'src/route/sheet_route.dart';
\ No newline at end of file
export 'src/route/sheet_route.dart';
... ...