Skip to content

Gallery SliverAppBar Text better centered under iOS theme than Android. #9212

@lubi888

Description

@lubi888

Hi,

Seems to be TextAlign issue with SliverAppBar from home.dart in flutter_gallery example. The Android text is missing when the iOS theme is applied.

If i input 'title: new Text('Animate Slowly ----real slowly'), ' in line 173 of home.dart then it's enough to fill up the page width under the iOS theme but it's clearly not visible when under Android theme. The text is not centered and characters are missing.

I'm not sure if I could adjust this line with something like CenterAlign, whether it's related to FlexibleSpaceBar, or other theme files. I don't have an iphone to check.

Here are some shots with the theme changing the text alignment;

Android theme home page
flutter android home-screenshot from 2017-04-05 11-22-44

iOS theme home page
flutter ios home-screenshot from 2017-04-05 11-23-33

Android drawer theme selected
flutter androiddrawer-screenshot from 2017-04-05 11-29-44

iOS drawer theme selected
flutter ios home-screenshot from 2017-04-05 11-30-23

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions