-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: qualityA truly polished experienceA truly polished experiencef: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
With centerTitle:false, when you add Widgets to actions everything works fine. With centerTitle:true, it adds padding to the left of the centered item instead of the action.
AppBar(
actions: <Widget>[
IconButton(
tooltip: "favorite",
icon: Icon(Icons.star),
onPressed: () { },
),
IconButton(
tooltip: "copy color",
icon: Icon(Icons.star),
onPressed: () { },
),
],
title: TextFormField(
decoration: InputDecoration(
filled: true,
isDense: true,
)
),
centerTitle: true,
)➜ flutter doctor -v
[✓] Flutter (Channel dev, v1.10.2, on Mac OS X 10.14.6 18G95, locale en-BR)
• Flutter version 1.10.2 at /usr/local/Cellar/flutter/dev
• Framework revision f5733f7a62 (6 days ago), 2019-09-11 21:03:42 -0700
• Engine revision 7ea9884ab0
• Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/bernardoferrari/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Users/bernardoferrari/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android
Studio 3.5 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• CocoaPods version 1.7.3
[✓] Android Studio (version 3.5)
• Android Studio at /Users/bernardoferrari/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android
Studio 3.5 Preview.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[✓] Android Studio
• Android Studio at /Users/bernardoferrari/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5863777/Android
Studio 3.6 Preview.app/Contents
• Flutter plugin version 39.0.4
• Dart plugin version 192.6527
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.2)
• IntelliJ at /Users/bernardoferrari/Applications/JetBrains Toolbox/IntelliJ
IDEA Ultimate.app
• Flutter plugin version 38.2.4
• Dart plugin version 192.6459
[✓] VS Code (version 1.38.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 10
(API 29) (emulator)
• No issues found!
Metadata
Metadata
Assignees
Labels
a: qualityA truly polished experienceA truly polished experiencef: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
