removePaddingFromContent property

bool removePaddingFromContent
final

If true, padding derived from MediaQuery will NOT be added to the PanelContent. Some widgets like ListTile add the padding automatically. Set this to true to prevent them adding the extra space.

This option comes handy when you are opting to add padding to all sides (e.g., top=bottom=sides=true), the necessary paddings are already applied. So, there is no need for extra padding to be apploed to the content. So, set this to true in such cases.

Implementation

final bool removePaddingFromContent;