1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| import 'package:flutter/material.dart';
class AppBottomSheet extends StatelessWidget { const AppBottomSheet({Key? key}) : super(key: key);
@override Widget build(BuildContext context) { return Container( height: 350, decoration: BoxDecoration( color: Theme.of(context).colorScheme.background, boxShadow: const [ BoxShadow( color: Colors.black12, offset: Offset(0, -20), blurRadius: 30, ), ], ), child: const Center( child: Text('AppBottomSheet'), ), ); } }
|