add gui animation setting
This commit is contained in:
parent
cc60eb7226
commit
13b79f65f5
|
@ -31,9 +31,9 @@ class _AppScreenState extends State<AppScreen> {
|
||||||
setState(() {});
|
setState(() {});
|
||||||
}
|
}
|
||||||
|
|
||||||
static const List<Widget> _widgetOptions = <Widget>[
|
static List<Widget> _widgetOptions = <Widget>[
|
||||||
const CategoriesScreen(),
|
CategoriesScreen(),
|
||||||
const SpaceScreen(),
|
SpaceScreen(),
|
||||||
];
|
];
|
||||||
|
|
||||||
late int _selectedIndex = 0;
|
late int _selectedIndex = 0;
|
||||||
|
|
|
@ -92,6 +92,7 @@ class _CategoriesScreenState extends State<CategoriesScreen>
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
super.build(context);
|
||||||
var theme = Theme.of(context);
|
var theme = Theme.of(context);
|
||||||
var themeBackground = theme.scaffoldBackgroundColor;
|
var themeBackground = theme.scaffoldBackgroundColor;
|
||||||
var shadeBackground = Color.fromARGB(
|
var shadeBackground = Color.fromARGB(
|
||||||
|
|
|
@ -44,6 +44,7 @@ class _SpaceScreenState extends State<SpaceScreen>
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
super.build(context);
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('我的'),
|
title: Text('我的'),
|
||||||
|
|
Loading…
Reference in New Issue