wp_pivot_flutter 0.0.2 copy "wp_pivot_flutter: ^0.0.2" to clipboard
wp_pivot_flutter: ^0.0.2 copied to clipboard

outdated

A Windows Phone style pivot tab bar implementation in Flutter

wp_pivot_flutter #

A Flutter package inspirred 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,
        ),
     );
}
   
12
likes
40
pub points
70%
popularity

Publisher

verified publisherchinmaykabi.com

A Windows Phone style pivot tab bar implementation in Flutter

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

flutter, scrollable_positioned_list

More

Packages that depend on wp_pivot_flutter