Simple Bottom App Bar
Simple Bottom App Bar
Source Code
import 'package:flutter/material.dart';
void main()=>runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: "Bottom App Bar",
home:Scaffold(
bottomNavigationBar: BottomAppBar(
child: Row(
children: [
IconButton(icon: Icon(Icons.menu), onPressed: () {}),
Spacer(),
IconButton(icon: Icon(Icons.search), onPressed: () {}),
IconButton(icon: Icon(Icons.more_vert), onPressed: () {}),
],
),
),
floatingActionButton:
FloatingActionButton(child: Icon(Icons.add), onPressed: () {}),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
),));
Comments
Post a Comment