import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter UI Example', theme: ThemeData.dark().copyWith( primaryColor: Colors.green, // Set primary color to green scaffoldBackgroundColor: Colors.green.shade800, // Set background color to dark green ), home: HomePage(), ); } } class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State { bool showAboutUs = false; void toggleAboutUs() { setState(() { showAboutUs = !showAboutUs; }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('My App'), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ RaisedButton( onPressed: () {}, child: Text('Button 1'), ), RaisedButton( onPressed: () {}, child: Text('Button 2'), ), ], ), ), floatingActionButton: FloatingActionButton( onPressed: toggleAboutUs, // Toggle the "about us" container child: Icon(Icons.info), ), floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat, bottomNavigationBar: Visibility( visible: showAboutUs, child: Container( height: 100, color: Colors.green.shade900, child: Center( child: Text( 'About Us', style: TextStyle( fontSize: 24, fontWeight: FontWeight.bold, color: Colors.white, ), ), ), ), ), ); } }