bottom_progress 0.0.3 copy "bottom_progress: ^0.0.3" to clipboard
bottom_progress: ^0.0.3 copied to clipboard

A new Flutter package project.

example/example.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      bottomNavigationBar: BottomAppBar(
        elevation: 0,
        child: BottomProgress(
          pointCount: 1,
          pageCount: 6,
          onColor: Colors.red,
          offColor: Colors.grey,
          fontSize: 40,
        ),
      ),
    );
  }

}
1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on bottom_progress