floatingpanel 1.1.3
floatingpanel: ^1.1.3 copied to clipboard
Floating panel helps you create easy floating menu which you can drag and drop to any edge of the screen (horizontally).
import 'package:floatingpanel/floatingpanel.dart';
import 'package:flutter/material.dart';
class Homepage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Stack(
children: [
// Add Float Box Panel at the bottom of the 'stack' widget.
FloatBoxPanel(
//Customize properties
backgroundColor: Color(0xFF222222),
panelShape: PanelShape.rectangle,
borderRadius: BorderRadius.circular(8.0),
buttons: [
// Add Icons to the buttons list.
Icons.message,
Icons.photo_camera,
Icons.video_library
],
),
],
),
),
);
}
}