You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IOS 13.3 TextStyle FontWeight being completely Ignored #49492
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.14.5-pre.35, on Mac OS X 10.14.5 18F132, locale en-ID)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.41.1)
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
Source is using default flutter create [projectname]
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see the
// application has a blue toolbar. Then, without quitting the app, try
// changing the primarySwatch below to Colors.green and then invoke
// "hot reload" (press "r" in the console where you ran "flutter run",
// or simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
// This widget is the home page of your application. It is stateful, meaning
// that it has a State object (defined below) that contains fields that affect
// how it looks.
// This class is the configuration for the state. It holds the values (in this
// case the title) provided by the parent (in this case the App widget) and
// used by the build method of the State. Fields in a Widget subclass are
// always marked "final".
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
int _counter = 0;
void _incrementCounter() {
setState(() {
// This call to setState tells the Flutter framework that something has
// changed in this State, which causes it to rerun the build method below
// so that the display can reflect the updated values. If we changed
// _counter without calling setState(), then the build method would not be
// called again, and so nothing would appear to happen.
_counter++;
});
}
@override
Widget build(BuildContext context) {
// This method is rerun every time setState is called, for instance as done
// by the _incrementCounter method above.
//
// The Flutter framework has been optimized to make rerunning build methods
// fast, so that you can just rebuild anything that needs updating rather
// than having to individually change instances of widgets.
return Scaffold(
appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
title:
// Text(widget.title,
// style: Theme.of(context).primaryTextTheme.headline5,)
Text(
widget.title,
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 25),
)),
body: Center(
// Center is a layout widget. It takes a single child and positions it
// in the middle of the parent.
child: Column(
// Column is also a layout widget. It takes a list of children and
// arranges them vertically. By default, it sizes itself to fit its
// children horizontally, and tries to be as tall as its parent.
//
// Invoke "debug painting" (press "p" in the console, choose the
// "Toggle Debug Paint" action from the Flutter Inspector in Android
// Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
// to see the wireframe for each widget.
//
// Column has various properties to control how it sizes itself and
// how it positions its children. Here we use mainAxisAlignment to
// center the children vertically; the main axis here is the vertical
// axis because Columns are vertical (the cross axis would be
// horizontal).
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text(
'You have pushed the button this many times:',
),
Text(
'$_counter',
style: Theme.of(context).textTheme.headline4,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}
Attached the result in ios simulator and android emulator using bold
Bold is not displaying in IOS
(edited)
Reacted by pamir72, Ian Tian, Calvin, Danil Abdrafikov and Niek van der Maas
changed the title [-]IOS 13.3 textstyle headline5 is not bold now[/-][+]IOS 13.3 textstyle headline5 is not bold now, edit bold is not working not because of headline5[/+]on Jan 28, 2020
@scopendo it should make it to the beta channel in the next beta release, but it won't be cherry-picked, so the next beta release will also contain the API-breaking changes you see on master.
Hey @tvolkert. I'm new to flutter dev so sorry if this is an obvious question. But are there periodic releases to beta channel or is it just "whenever it happens"? Just trying to figure out if I can wait for this or find an alternative. Thank you!
Side-note: we're in the process of defining a new release process that should allow us to publish a calendar so people can plan on our beta and stable releases. Stay tuned 🙂
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
iapicca commentedon Jan 27, 2020
Hi @x4080
can you please provide your
flutter doctor -v,and if possible a reproducible minimal code sample.
Thank you
x4080 commentedon Jan 28, 2020
@iapicca Thanks for quick response,
Source is using default flutter create [projectname]
Attached the result in ios simulator and android emulator using bold
Bold is not displaying in IOS
(edited)
pamir72 commentedon Jan 28, 2020
Confirm. Flutter 1.14.5. iOS 13.3. Font with bold weight (and w500, w600, w700 .....) is not displayed for the emulator and on the real device.
x4080 commentedon Jan 28, 2020
@pamir72 thanks so its not just me
[-]IOS 13.3 textstyle headline5 is not bold now[/-][+]IOS 13.3 textstyle headline5 is not bold now, edit bold is not working not because of headline5[/+]pamir72 commentedon Jan 28, 2020
It's not only headline5. Any with bold for me
calvinmuller commentedon Jan 28, 2020
40 remaining items
dnfield commentedon Feb 27, 2020
This should be fixed on master now, after #51480
Can anyone experiencing this pleast test on master and verify?
passsy commentedon Feb 28, 2020
I can verify the fix is working.
Side note: Upgrading from
betatomasterwasn't easy due to some recent breaking changes I ran into #48346, #44930, #51435gliese667c commentedon Feb 28, 2020
Verified too, on
mastercommit1cc8cc299sanekyy commentedon Feb 28, 2020
I confirm, fixed.
scopendo commentedon Feb 29, 2020
@dnfield will this be expedited to the beta channel, or are the dependencies too big to allow it?
dnfield commentedon Feb 29, 2020
@tvolkert
tvolkert commentedon Feb 29, 2020
@scopendo it should make it to the beta channel in the next beta release, but it won't be cherry-picked, so the next beta release will also contain the API-breaking changes you see on master.
jlubeck commentedon Mar 5, 2020
Hey @tvolkert. I'm new to flutter dev so sorry if this is an obvious question. But are there periodic releases to beta channel or is it just "whenever it happens"? Just trying to figure out if I can wait for this or find an alternative. Thank you!
tvolkert commentedon Mar 5, 2020
@jlubeck see https://github.com/flutter/flutter/wiki/Release-process#rolling-the-beta-channel. tldr: beta releases are generally once a month early in the month (will likely be early next week).
Side-note: we're in the process of defining a new release process that should allow us to publish a calendar so people can plan on our beta and stable releases. Stay tuned 🙂
jlubeck commentedon Mar 5, 2020
Nice, thank you @tvolkert !
jlubeck commentedon Mar 18, 2020
Nice, beta was published and this is now fixed on beta channel
lock commentedon Apr 2, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.