-
-
Save MarcinusX/a3de0c6f0d83e7969d16d3e995044f87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const double minHeight = 120; | |
class ExhibitionBottomSheet extends StatefulWidget { | |
@override | |
_ExhibitionBottomSheetState createState() => _ExhibitionBottomSheetState(); | |
} | |
class _ExhibitionBottomSheetState extends State<ExhibitionBottomSheet> | |
with SingleTickerProviderStateMixin { | |
@override | |
Widget build(BuildContext context) { | |
return Positioned( | |
height: minHeight, | |
left: 0, | |
right: 0, | |
bottom: 0, | |
child: Container( | |
padding: const EdgeInsets.symmetric(horizontal: 32), | |
decoration: const BoxDecoration( | |
color: Color(0xFF162A49), | |
borderRadius: BorderRadius.vertical(top: Radius.circular(32)), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment