Last updated:
0 purchases
hovertab
TODO: A package for a single page with sliverappbar and tabbar hovering above it. You can change number of tabs and its pages
String networkImage =
"https://lh3.googleusercontent.com/p/AF1QipMt81hodeb7nPhGqeK82U6UhDAJe6v-06tLBs5N=s680-w680-h510";
copied to clipboard
@override
Widget build(BuildContext context) {
return Scaffold(
body: HoverTab(
backgroundColor: Colors.green,
tabColor: Colors.green,
iconBackground: Colors.green,
backbutton: true,
background: [
Container(
decoration: BoxDecoration(
color: Colors.blue,
image: DecorationImage(
image: NetworkImage(networkImage),
fit: BoxFit.cover),
),
),
],
tabNumber: 2,
insideTab: [
Container(
child: Text("Tab 1"),
),
Container(
child: Text("Tab 2"),
),
],
tabNames: const[
// Tab(
// child: Text("Description"),
// ),
Tab(
child: Text("Details"),
),
Tab(
child: Text("Reviews"),
),
],
),
);
copied to clipboard
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.