Skip to content

A Windows Phone Style Pivot Tab Bar implementation in Flutter. This repo is open for Hacktoberfest 2020

License

Notifications You must be signed in to change notification settings

Chinmay-KB/wp_pivot_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56347c1 · Mar 19, 2022

History

21 Commits
Mar 19, 2022
Mar 19, 2022
Aug 21, 2020
Aug 22, 2020
Oct 1, 2020
Aug 21, 2020
Aug 21, 2020
Aug 22, 2020
Oct 1, 2020
Oct 1, 2020
Aug 21, 2020
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022

Repository files navigation

Starware

wp_pivot_flutter

All Contributors

A Flutter package inspired from Windows Phone Style Pivot Tabs Pivots in action

Example

The current plugin uses GlobalKey for accessing child function. A controller will be implemented in the next update.

import 'package:wp_pivot_flutter/wp_pivot_flutter.dart';

GlobalKey<WpPivotState> globalKey = GlobalKey();

@override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: Colors.black,
        appBar: WpPivot(
          key: globalKey,
          backgroundColor: Colors.black,
          fontSize: 42,
          fontWeight: FontWeight.w400,
          selectedTabColor: Colors.white,
          unselectedTabColor: Colors.white38,
          tabTitles: [
            "Tab 1",
            "Tab 2",
            "Tab 3",
            "Tab 4",
          ],
          title: "Title",
          titleColor: Colors.white,
          titleFontSize: 14,
          titleFontWeight: FontWeight.bold,
        ),
     );
}
   

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Chinmay Kabi

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Starware

wp_pivot_flutter is Starware.
This means you're free to use the project, as long as you star its GitHub repository.
Your appreciation makes us grow and glow up. ⭐

About

A Windows Phone Style Pivot Tab Bar implementation in Flutter. This repo is open for Hacktoberfest 2020

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published