{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/21026","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/21026/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/21026/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/21026/events","html_url":"https://github.com/flutter/flutter/issues/21026","id":354034459,"node_id":"MDU6SXNzdWUzNTQwMzQ0NTk=","number":21026,"title":"Flutter is too tied to Material Design padding","user":{"login":"SteveAlexander","id":4321921,"node_id":"MDQ6VXNlcjQzMjE5MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4321921?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveAlexander","html_url":"https://github.com/SteveAlexander","followers_url":"https://api.github.com/users/SteveAlexander/followers","following_url":"https://api.github.com/users/SteveAlexander/following{/other_user}","gists_url":"https://api.github.com/users/SteveAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveAlexander/subscriptions","organizations_url":"https://api.github.com/users/SteveAlexander/orgs","repos_url":"https://api.github.com/users/SteveAlexander/repos","events_url":"https://api.github.com/users/SteveAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/SteveAlexander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-25T18:39:36Z","updated_at":"2018-08-28T08:06:20Z","closed_at":null,"author_association":"NONE","body":"Overall I'm enjoying using Flutter. So much so that in the media company where I work, we're switching our default app development stack from React Native to Flutter. Also, Dart is a pleasure to develop in.\r\n\r\nConsidering this, please read the following as meant respectfully, and from a place of heartfelt gratitude...\r\n\r\nI am becoming increasingly irritated by what I see as a kind of \"nanny state\" enforcement of by-the-book Material Design guidelines in what are otherwise extremely useful and well thought-out Flutter components.\r\n\r\nI have come across a number of these:\r\n\r\n- I wanted to nudge a prefix icon a few pixels down in a search box. The icon is a magnifying-glass, and if you look at it as pseudo-typography, the handle of the magnifier should extend below the baseline of the text. I found no way to do that, while still getting the benefit of standard text decoration, because icons are constrained have a certain minimum size and border — because Material Design. So, I thought to write my own InputDecorator that would go outside the strict bounds of Material Design, but found this impossible to get a TextField to actually use. https://github.com/flutter/flutter/issues/19775\r\n\r\n- I want to use TabBar's well thought-out logic for interacting with a TabController, and handling all sorts of cases correctly. But, I want to slightly reduce the horizontal padding around the tabs. There is no way to do this other than fork Flutter and change the global kTabLabelPadding, or copy-paste TabBar and alter the padding logic there. Or reimplement my own. The TabBar widget doesn't seem particularly open to extension.\r\n\r\nThere are more cases I don't recall specifically enough to describe in writing here. I will follow up with examples as I come across them.\r\n\r\nWhat would I like to be different?\r\n\r\nI'd like Flutter to be less prescriptive about Material Design, particularly in the use of mandatory padding. I'd like to be able to use Flutter for non-Material or close-to-Material user experiences, without taking on the complexity of writing my own basic components (by which I mean text fields, tab bars, etc.), but also without having to embarrassingly explain to my UX colleagues (who respect Material Design but do not want to follow it slavishly) that Flutter thinks it knows better than they do, and it will take a seemingly disproportionate degree of effort to make what seems like a small change — at at the code level is, if I were okay with editing the Flutter sources. But I also care about carrying technical debt, so I don't want to deviate from the mainline development of flutter.\r\n\r\ntl;dr Flutter is awesome. But it unnecessarily forces use of Material Design padding. Please make this configurable in some way.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/416490330","html_url":"https://github.com/flutter/flutter/issues/21026#issuecomment-416490330","issue_url":"https://api.github.com/repos/flutter/flutter/issues/21026","id":416490330,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjQ5MDMzMA==","user":{"login":"SteveAlexander","id":4321921,"node_id":"MDQ6VXNlcjQzMjE5MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4321921?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveAlexander","html_url":"https://github.com/SteveAlexander","followers_url":"https://api.github.com/users/SteveAlexander/followers","following_url":"https://api.github.com/users/SteveAlexander/following{/other_user}","gists_url":"https://api.github.com/users/SteveAlexander/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveAlexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveAlexander/subscriptions","organizations_url":"https://api.github.com/users/SteveAlexander/orgs","repos_url":"https://api.github.com/users/SteveAlexander/repos","events_url":"https://api.github.com/users/SteveAlexander/events{/privacy}","received_events_url":"https://api.github.com/users/SteveAlexander/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T08:06:20Z","updated_at":"2018-08-28T08:06:20Z","author_association":"NONE","body":"that would be fine with me"}}
{"actor":{"display_login":"SteveAlexander"}}