Skip to content

Commit

Permalink
fix linter feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanschaller committed Mar 8, 2024
1 parent 6982b9c commit ad00cf5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ class MainApp extends StatelessWidget {
body: Stack(
children: [
Positioned.fill(
child: Container(
color: Colors.green,
)),
child: Container(
color: Colors.green,
),
),
Align(
alignment: Alignment.bottomCenter,
child: ScrollableBottomSheet(
snapPositions: [maxHeight / 2],
initialPosition: maxHeight / 2,
onSizeChanged: (tween,height) {
print(tween);
},
maxHeight: maxHeight,
minHeight: 100,
builder: (context, scrollController) {
Expand Down

0 comments on commit ad00cf5

Please sign in to comment.