
正文
关于flutterthen的信息
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
flutter 带未读消息的底部导航
bottom_tab_bar,
用法和bottom_navigation_bar一样,但是新增了一些属性的用法
bottom navigation bar 里面的 icon and title.
回调,带的是tab的index
The callback that is called when a item is tapped.
The widget creating the bottom navigation bar needs to keep track of the current index and call setState to rebuild it with the newly provided index.
The index into [items] of the current active item.
当前激活的是哪一个tab
Defines the layout and behavior of a [BottomTabBar].
See documentation for [BottomTabBarType] for information on the meaning of different types.
The color of the selected item when bottom navigation bar is [BottomTabBarType.fixed].
If [fixedColor] is null then the theme's primary color, [ThemeData.primaryColor], is used. However if [BottomTabBar.type] is [BottomTabBarType.shifting] then [fixedColor] is ignored.
The size of all of the [BottomTabBarItem] icons.
See [BottomTabBarItem.icon] for more information.
动画是否开启,默认是开起的
未读消息的颜色,默认是fixedColor
按压水墨屏效果是否开启,默认是开启的,
还是带动画的,不太适合我们的正常项目
未读消息,是一个widget,可以自定义样式
未读消息
first import dependeny in pubspec.yaml
example:
相关问答
Q1: 泰戈尔长篇英语诗歌
泰戈尔经典英语诗歌:当时光已逝
When Day Is Done,If the day is done ,If birds sing no more .If the wind has fiagged tired .
当一天结束的时候,如果一天结束了,如果鸟儿不再歌唱。
Then draw the veil of darkness thick upon me ,Even as thou hast wrapt the earth with The coverlet of sleep and tenderly closed .
那就把黑暗的面纱拉在我身上,就像你用睡衣裹住大地,温柔地合上。
The petals of the drooping lotus at dusk.From the traverer,Whose sack of provisions is empty before the voyage is ended ,Whose garment is torn and dustladen ,Whose strength is exhausted,remove shame and poverty .
黄昏时垂莲的花瓣。从旅人那里,谁的粮食袋在航行结束前是空的,谁的衣服被撕破,满是灰尘,谁的力量耗尽,谁的羞愧和贫穷就消失了。
And renew his life like a flower underThe cover of thy kindly night .
在你慈爱的夜幕的掩护下,重新开始他的生命。
扩展资料
拉宾德拉纳特·泰戈尔(1861年—1941年),印度诗人、文学家、社会活动家、哲学家和印度民族主义者。代表作有《吉檀迦利》、《飞鸟集》、《眼中沙》、《四个人》、《家庭与世界》、《园丁集》、《新月集》、《最后的诗篇》、《戈拉》、《文明的危机》等。
1861年5月7日,拉宾德拉纳特·泰戈尔出生于印度加尔各答一个富有的贵族家庭,13岁即能创作长诗和颂歌体诗集。1878年赴英国留学,1880年回国专门从事文学活动。1884至1911年担任梵 社秘书,20年代创办国际大学。
1913年,他以《吉檀迦利》成为第一位获得诺贝尔文学奖的亚洲人。1941年写作控诉英国殖民统治和相信祖国必将获得独立解放的遗言《文明的危机》。
参考资料:百度百科-泰戈尔
Q2: wing这个单词的音标?
wing发音:英 [wɪŋ] ;美 [wɪŋ]
翻译:
n. 翅膀;翼
v. 飞过;空运;临时发挥
短语搭配
add wings to 加快…的速度
clap wings 振翅
flutter wings 拍动翅膀
fold wing 将翅膀收起
spread one's wings 张开翅膀,在实践中检验自己的能力
take wing 飞去,迅速离去
双语例句
The hen tucked her head under her wing.
那母鸡把头缩在翅膀下。
A seagull fluttered down with an injured wing.
一只海鸥拍打着翅膀飞落下来。
The bird's left wing was hurt.
这只鸟的左翼受伤了。





