-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flickering when animating cupertino widgets #5
Comments
It's been a while since this issue opened, but I've found no clue, Has anyone figured out anything? |
The problem is not limited to cupertino widgets. The flickering also occurs for some material widgets in the Gallery app (to be more specific, the "Bottom app bar" page). |
Here's simple reproduction code: import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MaterialApp(
home: Scaffold(body: CupertinoNavigationBarDemo()),
));
}
class CupertinoNavigationBarDemo extends StatelessWidget {
const CupertinoNavigationBarDemo({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Navigator(
onGenerateRoute: (settings) {
return CupertinoPageRoute(
title: 'Navigator',
settings: settings,
builder: (context) {
return CupertinoPageScaffold(
child: CustomScrollView(
slivers: [
const CupertinoSliverNavigationBar(),
SliverList(
delegate: SliverChildBuilderDelegate((context, index) {
return const ListTile(title: Text('Title'));
}, childCount: 20),
),
],
),
);
},
);
},
);
}
} Run this code on a watch or TM1 in release mode. |
I encountered these error messages when I was testing my wayland renderer:
I don't know what the error is about but it could be related to this issue because it only happens when the app is rendering cupertino widgets. |
Previously only on TM1 devices (#53), but it now also occurs on watch devices. Reproducible with the Gallery app.
The text was updated successfully, but these errors were encountered: