Flutter: how to adjust/override properties of the Flutter core code without copying entire files?
问题 This question is related to the following StackOverflow issue: bottom sheet with initial height half of screen and if it scroll then height is increase to full screen It is about a constraint that is set within the Flutter code about bottom sheets, that I do not want to have. I understand the solution mentioned in the link above, but I don't know how to implement it in a nice way. Right now my 'solution' is to completely copy the bottom_sheet.dart file from the official Flutter codebase and