@@ -27,16 +27,15 @@ Online example can be found at [https://appbar.codemagic.app](https://appbar.cod
2727
2828Here are some supported style:
2929
30- | ** fixed** | ** react** | ** badge chip** |
31- | :------------------------------: | :------------------------------: | :------------------------------: |
32- | ![ ] ( doc/appbar-fixed.gif ) | ![ ] ( doc/appbar-react.gif ) | ![ ] ( doc/appbar-badge.gif ) |
33- | ** fixedCircle** | ** reactCircle** | ** flip** |
34- | ![ ] ( doc/appbar-fixed-circle.gif ) | ![ ] ( doc/appbar-react-circle.gif ) | ![ ] ( doc/appbar-flip.gif ) |
35- | ** textIn** | ** titled** | ** tab image** |
36- | ![ ] ( doc/appbar-textIn.gif ) | ![ ] ( doc/appbar-titled.gif ) | ![ ] ( doc/appbar-image.gif ) |
37- | ** button** | ** fixed corner** | |
38- | ![ ] ( doc/appbar-single-button.png ) | ![ ] ( doc/appbar-corner-fixed.png ) | |
39-
30+ | ** fixed** | ** react** | ** badge chip** |
31+ | :---------------------------------:| :--------------------------------:| :-------------------------:|
32+ | ![ ] ( doc/appbar-fixed.gif ) | ![ ] ( doc/appbar-react.gif ) | ![ ] ( doc/appbar-badge.gif ) |
33+ | ** fixedCircle** | ** reactCircle** | ** flip** |
34+ | ![ ] ( doc/appbar-fixed-circle.gif ) | ![ ] ( doc/appbar-react-circle.gif ) | ![ ] ( doc/appbar-flip.gif ) |
35+ | ** textIn** | ** titled** | ** tab image** |
36+ | ![ ] ( doc/appbar-textIn.gif ) | ![ ] ( doc/appbar-titled.gif ) | ![ ] ( doc/appbar-image.gif ) |
37+ | ** button** | ** fixed corner** | |
38+ | ![ ] ( doc/appbar-single-button.png ) | ![ ] ( doc/appbar-corner-fixed.png ) | |
4039
4140## How to use
4241Typically ConvexAppBar can work with ` Scaffold ` by setup its ` bottomNavigationBar ` .
@@ -71,10 +70,11 @@ Scaffold(
7170As Flutter is developing fast. There can be breaking changes. We will be trying to support the
7271stable version and beta version through different package versions.
7372
74- | ** Stable Flutter Version** | ** Package Version** | ** More** |
75- | :------------------------------: | :------------------------------: | :------------------------------: |
76- | >=1.20 | >=2.4.0 | Since v1.20, the stable version changed the Stack api |
77- | <1.20 | <=2.3.0 | Support for stable version such as v1.17, v1.12 is not going to be updated |
73+ | ** Stable Flutter Version** | ** Package Version** | ** More** |
74+ | :--------------------------:| :-------------------:| :--------------------------------------------------------------------------:|
75+ | >=3.7.0 | >=3.2.0 | Since v3.7.0, the stable version changed the DefaultTabController api |
76+ | >=1.20 | >=2.4.0 | Since v1.20, the stable version changed the Stack api |
77+ | <1.20 | <=2.3.0 | Support for stable version such as v1.17, v1.12 is not going to be updated |
7878
7979## Features
8080* Provide multiple internal styles
@@ -101,18 +101,18 @@ The bar will use default style, you may want to theme it. Here are some supporte
101101
102102![ ] ( doc/appbar-theming.png )
103103
104- | Attributes | Description |
105- | --------------- | ------------------------------------- |
106- | backgroundColor | AppBar background |
107- | gradient | gradient will override backgroundColor|
108- | height | AppBar height |
109- | color | tab icon/text color |
110- | activeColor | tab icon/text color ** when selected** |
111- | curveSize | size of the convex shape |
112- | top | top edge of the convex shape relative to AppBar |
104+ | Attributes | Description |
105+ | ----------------- | -------------------------------------------------------------------------------------- |
106+ | backgroundColor | AppBar background |
107+ | gradient | gradient will override backgroundColor |
108+ | height | AppBar height |
109+ | color | tab icon/text color |
110+ | activeColor | tab icon/text color ** when selected** |
111+ | curveSize | size of the convex shape |
112+ | top | top edge of the convex shape relative to AppBar |
113113| cornerRadius | draw the background with topLeft and topRight corner; Only work with fixed tab style |
114- | style | style to describe the convex shape: ** fixed, fixedCircle, react, reactCircle** , ... |
115- | chipBuilder | custom badge builder, use ** ConvexAppBar.badge** for default badge |
114+ | style | style to describe the convex shape: ** fixed, fixedCircle, react, reactCircle** , ... |
115+ | chipBuilder | custom badge builder, use ** ConvexAppBar.badge** for default badge |
116116
117117## Badge
118118
0 commit comments