From 713edec13abcccc2e7af277a7c9038e399ca7484 Mon Sep 17 00:00:00 2001 From: Stefan Humm Date: Thu, 27 May 2021 23:47:14 +0900 Subject: [PATCH] Fix issue of GridView padding is affected by media query (#17) * Make sure GridView padding won't be affected by media query * Update CHANGELOG.md --- CHANGELOG.md | 1 + lib/src/default_emoji_picker_view.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 293fac1..5f3d5d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * Fix appearance of emoji when device font size is not default 🖥 * Add Backspace-Button & OnBackspacePressed-Callback for easier deletion of added Emoji's +* Fix issue with GridView padding at the top when no AppBar exist in Scaffold ## 1.0.4 diff --git a/lib/src/default_emoji_picker_view.dart b/lib/src/default_emoji_picker_view.dart index 5144bdf..ee0f25d 100644 --- a/lib/src/default_emoji_picker_view.dart +++ b/lib/src/default_emoji_picker_view.dart @@ -134,6 +134,7 @@ class _DefaultEmojiPickerViewState extends State physics: const ScrollPhysics(), shrinkWrap: true, primary: true, + padding: const EdgeInsets.all(0), crossAxisCount: widget.config.columns, mainAxisSpacing: widget.config.verticalSpacing, crossAxisSpacing: widget.config.horizontalSpacing,