sharara_bottom_bar 0.0.1 copy "sharara_bottom_bar: ^0.0.1" to clipboard
sharara_bottom_bar: ^0.0.1 copied to clipboard

A new Sharara flutter package.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:sharara_bottom_bar/sharara_bottom_bar.dart';

void main() {
  runApp(const MyApp());
}

class  MyApp extends StatelessWidget {
  const  MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return  const MaterialApp(
      debugShowCheckedModeBanner:false,
      home: FirstScreen(),
    );
  }
}
class FirstScreen extends StatelessWidget {
  const FirstScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return   Scaffold(
      bottomNavigationBar: ShararaBottomBar(
       controller:ShararaBottomBarController(
         items: const [
           ShararaBottomItem(child: Icon(Icons.home),label: "الرئيسية"),
           ShararaBottomItem(child: Icon(Icons.gamepad),label: "الاقسام"),
           ShararaBottomItem(child: Icon(Icons.shopping_cart),label: "العربة"),
           ShararaBottomItem(child: Icon(Icons.person,color:Colors.black,),
             label:"الحساب الشخصي"
            ),
         ],
       ),
    )
    );
  }
}
0
likes
110
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A new Sharara flutter package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_animate

More

Packages that depend on sharara_bottom_bar