add gui animation setting

This commit is contained in:
niuhuan 2021-11-26 11:20:29 +08:00
parent cc60eb7226
commit 13b79f65f5
3 changed files with 5 additions and 3 deletions

View File

@ -31,9 +31,9 @@ class _AppScreenState extends State<AppScreen> {
setState(() {});
}
static const List<Widget> _widgetOptions = <Widget>[
const CategoriesScreen(),
const SpaceScreen(),
static List<Widget> _widgetOptions = <Widget>[
CategoriesScreen(),
SpaceScreen(),
];
late int _selectedIndex = 0;

View File

@ -92,6 +92,7 @@ class _CategoriesScreenState extends State<CategoriesScreen>
@override
Widget build(BuildContext context) {
super.build(context);
var theme = Theme.of(context);
var themeBackground = theme.scaffoldBackgroundColor;
var shadeBackground = Color.fromARGB(

View File

@ -44,6 +44,7 @@ class _SpaceScreenState extends State<SpaceScreen>
@override
Widget build(BuildContext context) {
super.build(context);
return Scaffold(
appBar: AppBar(
title: Text('我的'),