introduce bottombar
This commit is contained in:
		@@ -116,13 +116,21 @@ class _MediaGridState extends State<MediaGrid> {
 | 
			
		||||
        backgroundColor: const Color.fromARGB(255, 43, 43, 43),
 | 
			
		||||
        foregroundColor: const Color.fromARGB(255, 255, 255, 255),
 | 
			
		||||
        title: Row(
 | 
			
		||||
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
			
		||||
          children: [const Text('f0cks')],
 | 
			
		||||
        ),
 | 
			
		||||
      ),
 | 
			
		||||
      bottomNavigationBar: BottomAppBar(
 | 
			
		||||
        color: const Color.fromARGB(255, 43, 43, 43),
 | 
			
		||||
        child: Padding(
 | 
			
		||||
          padding: const EdgeInsets.symmetric(horizontal: 16.0),
 | 
			
		||||
          child: Row(
 | 
			
		||||
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
			
		||||
            children: [
 | 
			
		||||
            const Text('f0cks'),
 | 
			
		||||
              DropdownButton<String>(
 | 
			
		||||
                value: _selectedMode,
 | 
			
		||||
                dropdownColor: const Color.fromARGB(255, 43, 43, 43),
 | 
			
		||||
              iconEnabledColor: const Color.fromARGB(255, 255, 255, 255),
 | 
			
		||||
                iconEnabledColor: Colors.white,
 | 
			
		||||
                items: ["alles", "image", "video", "audio"].map((String value) {
 | 
			
		||||
                  return DropdownMenuItem<String>(
 | 
			
		||||
                    value: value,
 | 
			
		||||
@@ -141,7 +149,7 @@ class _MediaGridState extends State<MediaGrid> {
 | 
			
		||||
              DropdownButton<int>(
 | 
			
		||||
                value: _crossAxisCount,
 | 
			
		||||
                dropdownColor: const Color.fromARGB(255, 43, 43, 43),
 | 
			
		||||
              iconEnabledColor: const Color.fromARGB(255, 255, 255, 255),
 | 
			
		||||
                iconEnabledColor: Colors.white,
 | 
			
		||||
                items: [3, 4].map((int value) {
 | 
			
		||||
                  return DropdownMenuItem<int>(
 | 
			
		||||
                    value: value,
 | 
			
		||||
@@ -162,6 +170,7 @@ class _MediaGridState extends State<MediaGrid> {
 | 
			
		||||
            ],
 | 
			
		||||
          ),
 | 
			
		||||
        ),
 | 
			
		||||
      ),
 | 
			
		||||
      body: RefreshIndicator(
 | 
			
		||||
        onRefresh: _refreshMedia,
 | 
			
		||||
        child: GridView.builder(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user