欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

flutter輪子哪個(gè)好,flutter怎么樣

Flutter Dio源碼分析(四)--封裝

Flutter Dio源碼分析(一)--Dio介紹

成都創(chuàng)新互聯(lián)主要從事網(wǎng)站設(shè)計(jì)制作、網(wǎng)站建設(shè)、網(wǎng)頁(yè)設(shè)計(jì)、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)灌南,十載網(wǎng)站建設(shè)經(jīng)驗(yàn),價(jià)格優(yōu)惠、服務(wù)專業(yè),歡迎來(lái)電咨詢建站服務(wù):18982081108

Flutter Dio源碼分析(二)--HttpClient、Http、Dio對(duì)比

Flutter Dio源碼分析(三)--深度剖析

Flutter Dio源碼分析(四)--封裝

Flutter Dio源碼分析(一)--Dio介紹視頻教程

Flutter Dio源碼分析(二)--HttpClient、Http、Dio對(duì)比視頻教程

Flutter Dio源碼分析(三)--深度剖析視頻教程

Flutter Dio源碼分析(四)--封裝視頻教程

github倉(cāng)庫(kù)地址

本文會(huì)手把手教你該怎么去封裝一個(gè)類庫(kù),平時(shí)在我們的工作中都是拿著別人的造好的輪子在使用,這篇文章將帶你怎么去自己造輪子,以后再碰到別的類庫(kù)需要對(duì)其進(jìn)行封裝的時(shí)候提供一個(gè)的思路和方法。

在前面的文章中,我們對(duì) Dio 的基本使用、請(qǐng)求庫(kù)對(duì)比、源碼分析,我們知道 Dio 的使用非常的簡(jiǎn)單,那為什么還需要進(jìn)行封裝呢?有兩點(diǎn)如下:

當(dāng)組件庫(kù)方法發(fā)生重要改變需要遷移的時(shí)候如果有多處地方用到,那么需要對(duì)使用到的每個(gè)文件都進(jìn)行修改,非常的繁瑣而且很容易出問(wèn)題。

當(dāng)不需要 Dio 庫(kù)的時(shí)候,我們可以隨時(shí)方便切換到別的網(wǎng)絡(luò)請(qǐng)求庫(kù),當(dāng)然 Dio 目前內(nèi)置支持使用第三方庫(kù)的適配器。

因?yàn)橐粋€(gè)應(yīng)用程序基本都是統(tǒng)一的配置方式,所以我們可以針對(duì) 攔截器 、 轉(zhuǎn)換器 、 緩存 、 統(tǒng)一處理錯(cuò)誤 、 代理配置 、 證書(shū)校驗(yàn) 等多個(gè)配置進(jìn)行統(tǒng)一管理。

因?yàn)槲覀兊膽?yīng)用程序在每個(gè)頁(yè)面中都會(huì)用到網(wǎng)絡(luò)請(qǐng)求,那么如果我們每次請(qǐng)求的時(shí)候都去實(shí)例化一個(gè) Dio ,無(wú)非是增加了系統(tǒng)不必要的開(kāi)銷,而使用單例模式對(duì)象一旦創(chuàng)建每次訪問(wèn)都是同一個(gè)對(duì)象,不需要再次實(shí)例化該類的對(duì)象。

這是通過(guò)靜態(tài)變量的私有構(gòu)造器來(lái)創(chuàng)建的單例模式

我們對(duì) 超時(shí)時(shí)間 、 響應(yīng)時(shí)間 、 BaseUrl 進(jìn)行統(tǒng)一設(shè)置

因?yàn)椴还苁?get() 還是 post() 請(qǐng)求, Dio 內(nèi)部最終都會(huì)調(diào)用 request 方法,只是傳入的 method 不一樣,所以我們這里定義一個(gè)枚舉類型在一個(gè)方法中進(jìn)行處理

我們已經(jīng)把 Restful API 風(fēng)格簡(jiǎn)化成了一個(gè)方法,通過(guò) DioMethod 來(lái)標(biāo)明不同的請(qǐng)求方式。在我們平時(shí)開(kāi)發(fā)的過(guò)程中,需要在請(qǐng)求前、響應(yīng)前、錯(cuò)誤時(shí)對(duì)某一些接口做特殊的處理,那我們就需要用到攔截器。 Dio 為我們提供了自定義攔截器功能,很容易輕松的實(shí)現(xiàn)對(duì)請(qǐng)求、響應(yīng)、錯(cuò)誤時(shí)進(jìn)行攔截

我們發(fā)現(xiàn)雖然 Dio 框架已經(jīng)封裝了一個(gè) DioError 類庫(kù),但如果需要對(duì)返回的錯(cuò)誤進(jìn)行統(tǒng)一彈窗處理或者路由跳轉(zhuǎn)等就只能自定義了

在我們發(fā)送請(qǐng)求的時(shí)候會(huì)碰到幾種情況,比如需要對(duì)非open開(kāi)頭的接口自動(dòng)加上一些特定的參數(shù),獲取需要在請(qǐng)求頭增加統(tǒng)一的 token

在我們請(qǐng)求接口前可以對(duì)響應(yīng)數(shù)據(jù)進(jìn)行一些基礎(chǔ)的處理,比如對(duì)響應(yīng)的結(jié)果進(jìn)行自定義封裝,還可以針對(duì)單獨(dú)的 url 做特殊處理等。

我們看了轉(zhuǎn)換器的介紹,發(fā)現(xiàn)和攔截器的功能差不多,那為什么還要存在轉(zhuǎn)換器,有兩點(diǎn):

執(zhí)行流程: 請(qǐng)求攔截器 請(qǐng)求轉(zhuǎn)換器 發(fā)起請(qǐng)求 響應(yīng)轉(zhuǎn)換器 響應(yīng)攔截器 最終結(jié)果 。

只會(huì)被用于 'PUT'、 'POST'、 'PATCH'方法,因?yàn)橹挥羞@些方法才可以攜帶請(qǐng)求體(request body)

會(huì)被用于所有請(qǐng)求方法的返回?cái)?shù)據(jù)。

在開(kāi)發(fā)過(guò)程中,客戶端和服務(wù)器打交道的時(shí)候,往往會(huì)用一個(gè) token 來(lái)做校驗(yàn),因?yàn)槊總€(gè)公司處理刷新token的邏輯都不一樣,我這里舉一個(gè)簡(jiǎn)單的例子

為什么我們需要有取消請(qǐng)求的功能,如果當(dāng)我們的頁(yè)面在發(fā)送請(qǐng)求時(shí),用戶主動(dòng)退出當(dāng)前界面或者app應(yīng)用程序退出的時(shí)候數(shù)據(jù)還沒(méi)有響應(yīng),那我們就需要取消該網(wǎng)絡(luò)請(qǐng)求,防止不必要的錯(cuò)誤。

由 服務(wù)器生成 的 一小段文本信息 ,發(fā)送給瀏覽器,瀏覽器把 cookie 以kv形式保存到本地 某個(gè)目錄下的文本文件內(nèi),下一次請(qǐng)求同一網(wǎng)站時(shí)會(huì)把該 cookie 發(fā)送給服務(wù)器。

cookie 的使用需要用到兩個(gè)第三方組件 dio_cookie_manager 和 cookie_jar

因?yàn)樵谖覀兤綍r(shí)的開(kāi)發(fā)過(guò)程中,會(huì)碰到一種情況,在進(jìn)行網(wǎng)絡(luò)請(qǐng)求時(shí),我們希望能正常訪問(wèn)到上次的數(shù)據(jù),對(duì)于用戶的體驗(yàn)比較好,而不是展示一個(gè)空白的頁(yè)面,該緩存主要是 《Flutter實(shí)戰(zhàn)》網(wǎng)絡(luò)接口緩存 提供參考。

我們?cè)诔绦蛲顺龊髢?nèi)存緩存將會(huì)消失,所以我們用 shared_preferences 進(jìn)行磁盤(pán)緩存數(shù)據(jù)。

在我們用flutter進(jìn)行抓包的時(shí)候需要配置 Dio 代理。由 DefaultHttpClientAdapter 提供了一個(gè) onHttpClientCreate 回調(diào)來(lái)設(shè)置底層 HttpClient 的代理。

用于驗(yàn)證正在訪問(wèn)的網(wǎng)站是否真實(shí)。提供安全性,因?yàn)樽C書(shū)和域名綁定,并且由根證書(shū)機(jī)構(gòu)簽名確認(rèn)。

日志打印主要是幫助我們開(kāi)發(fā)時(shí)進(jìn)行輔助排錯(cuò)

Flutter實(shí)現(xiàn)堆疊式卡輪播效果

在本博客中,我們將探討Flutter中的堆疊式卡輪播。 我們還將實(shí)現(xiàn)一個(gè)演示程序,并學(xué)習(xí)在您的flutter應(yīng)用程序中使用 stacked_card_carousel 包創(chuàng)建一個(gè)帶有垂直輪播的堆疊卡。

用于創(chuàng)建帶有堆疊卡片的垂直輪播的小部件。 下面的演示視頻顯示了如何在Flutter中創(chuàng)建帶有垂直旋轉(zhuǎn)木馬的堆疊卡。 它顯示了在您的flutter應(yīng)用程序中如何使用stacked_card_carousel軟件包來(lái)使用堆疊式卡輪播。 它顯示了垂直圓盤(pán)傳送帶滑動(dòng)卡的列表,所有卡向上滑動(dòng)并堆疊,稱為堆疊式卡傳送帶。 它會(huì)顯示在您的設(shè)備上。

堆疊式卡輪播的一些屬性是:

在lib文件夾中創(chuàng)建一個(gè)名為style_card.dart的新dart文件。

首先,我們創(chuàng)建StyleCard類,將在后續(xù)的DEMO中調(diào)用它

我們將制作一個(gè) card 控件. 在card控件中, 我們加入一個(gè)elevation 屬性和一個(gè)column控件。 在column中, 我們加入一個(gè)container用于包含image, title 和 description. 然后在stacked_card_demo頁(yè)面中使用它。

在lib文件夾中創(chuàng)建一個(gè)新的名為stacked_card_demo.dart的dart文件。

現(xiàn)在,我們將創(chuàng)建一個(gè)styleCards列表,并在其中添加一個(gè)StyleCard類。

我們創(chuàng)建了八個(gè)卡片控件,并在其中添加了image,title和description。 程序運(yùn)行后,我們將看到一個(gè)卡片列表, 當(dāng)用戶向上滑動(dòng)時(shí),所有卡片都將堆疊在一起; 當(dāng)用戶向下滑動(dòng)時(shí),卡片都將回到原始位置;

效果如下:

Demo地址:

Flutter配置好后,在Android Studio中找不到設(shè)備,no devices

完成Flutter的Android配置之后,連上設(shè)備,運(yùn)行flutter doctor,發(fā)現(xiàn)已經(jīng)識(shí)別了一個(gè)可用設(shè)備了

但是用Android Studio新建Flutter項(xiàng)目之后,卻一直顯示未找到設(shè)備。

就是要配置一下flutter關(guān)聯(lián)的android sdk路徑和android studio文件夾,運(yùn)行如下命令:

例如:

flutter config --android-sdk D:\android_studioSDK

字體加粗部分為android sdk路徑。

運(yùn)行之后:如果出現(xiàn):

Setting "android-sdk" value to "D:\android_studioSDK".

那就成功了。

泰戈?duì)杽?lì)志詩(shī)中英文對(duì)照

泰戈?duì)柺怯《戎?shī)人,他的詩(shī)中含有深刻的宗教和哲學(xué)的見(jiàn)解,在印度享有史詩(shī)的地位。以下是我為你整理的 勵(lì)志詩(shī)句 ,希望能幫到你。

泰戈?duì)杽?lì)志詩(shī)精選

夏天的飛鳥(niǎo),飛到我的窗前 唱歌 ,又飛去了。

秋天的黃葉,它們沒(méi)有什么可唱,只嘆息一聲,飛落在那里。

Stray birds of summer come to my window to sing and fly away.

And yellow leaves of autumn, which have no songs, flutter and fall

there with a sign.

世界上的一隊(duì)小小的漂泊者呀,請(qǐng)留下你們的足印在我的文字里。

O Troupe of little vagrants of the world, leave your footprints in my words.

世界對(duì)著它的愛(ài)人,把它浩翰的面具揭下了。

它變小了,小如一首歌,小如一回永恒的接吻。

The world puts off its mask of vastness to its lover.

It becomes small as one song, as one kiss of the eternal.

是大地的淚點(diǎn),使她的微笑保持著青春不謝。

It is the tears of the earth that keep here smiles in bloom.

無(wú)垠的沙漠熱烈追求一葉綠草的愛(ài),她搖搖頭笑著飛開(kāi)了。

The mighty desert is burning for the love of a bladeof grass who

shakes her head and laughs and flies away.

如果你因失去了太陽(yáng)而流淚,那么你也將失去群星了。

If you shed tears when you miss the sun, you also miss the stars.

跳舞著的流水呀,在你途中的泥沙,要求你的歌聲,你的流動(dòng)呢。你肯挾瘸足的泥沙而俱下么?

The sands in your way beg for your song and your movement, dancing water. Will you carry the burden of their lameness?

她的熱切的臉,如夜雨似的,攪擾著我的夢(mèng)魂。

Her wishful face haunts my dreams like the rain at night.

有一次,我們夢(mèng)見(jiàn)大家都是不相識(shí)的。

我們醒了,卻知道我們?cè)窍嘤H相愛(ài)的。

Once we dreamt that we were strangers.

We wake up to find that we were dear to each other.

憂思在我的心里平靜下去,正如暮色降臨在寂靜的山林中。

Sorrow is hushed into peace in my heart like the evening among the silent trees.

有些看不見(jiàn)的手,如懶懶的微(風(fēng)思)的,正在我的心上奏著潺(氵爰)的樂(lè)聲。

Some unseen fingers, like an idle breeze, are playing upon my heart the music of the ripples.

“海水呀,你說(shuō)的是什么?”

“是永恒的疑問(wèn)。”

“天空呀,你回答的話是什么?”

“是永恒的沉默。”

What language is thine, O sea?

The language of eternal question.

What language is thy answer, O sky?

The language of eternal silence.

靜靜地聽(tīng),我的心呀,聽(tīng)那世界的低語(yǔ),這是它對(duì)你求愛(ài)的表示呀。

Listen, my heart, to the whispers of the world with which it makes love to you.

創(chuàng)造的神秘,有如夜間的黑暗--是偉大的。而知識(shí)的幻影卻不過(guò)如晨間之霧。

The mystery of creation is like the darkness of night--it is great. Delusions of knowledge are like the fog of the morning.

不要因?yàn)榍捅谑歉叩模阕屇愕膼?ài)情坐在峭壁上。

Do not seat your love upon a precipice because it is high.

我今晨坐在窗前,世界如一個(gè)路人似的,停留了一會(huì),向我點(diǎn)點(diǎn)頭又走過(guò)去了。

I sit at my window this morning where the world like a passer-by stops for a moment, nods to me and goes.

這些微(風(fēng)思),是樹(shù)葉的簌簌之聲呀;它們?cè)谖业男睦餁g悅地微語(yǔ)著。

There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.

你看不見(jiàn)你自己,你所看見(jiàn)的只是你的影子。

What you are you do not see, what you see is your shadow.

神呀,我的那些愿望真是愚傻呀,它們雜在你的歌聲中喧叫著呢。

讓我只是靜聽(tīng)著吧。

My wishes are fools, they shout across thy song, my Master.

Let me but listen.

我不能選擇那最好的。

是那最好的選擇我。

I cannot choose the best.

The best chooses me.

那些把燈背在背上的人,把他們的影子投到了自己前面。

They throw their shadows before them who carry their lantern on their back.

我的存在,對(duì)我是一個(gè)永久的神奇,這就是生活。

That I exist is a perpetual surprise which is life.

“我們蕭蕭的樹(shù)葉都有聲響回答那風(fēng)和雨。你是誰(shuí)呢,那樣的沉默著?”

“我不過(guò)是一朵花。”

We, the rustling leaves, have a voice that answers the storms,

but who are you so silent?“

I am a mere flower.

休息與工作的關(guān)系,正如眼瞼與眼睛的關(guān)系。

Rest belongs to the work as the eyelids to the eyes.

人是一個(gè)初生的孩子,他的力量,就是生長(zhǎng)的力量。

Man is a born child, his power is the power of growth.

泰戈?duì)杽?lì)志詩(shī)中英文對(duì)照

神希望我們酬答他,在于他送給我們的花朵,而不在于太陽(yáng)和土地。

God expects answers for the flowers he sends us, not for the sun the earth.

光明如一個(gè)裸體的孩子,快快活活地在綠葉當(dāng)中游戲,它不知道人是會(huì)欺詐的。

The light that plays, like a naked child, among the green leaves happily knows not that man can lie.

啊,美呀,在愛(ài)中找你自己吧,不要到你鏡子的諂諛去找尋。

O Beauty, find thyself in love, not in the flattery of thy mirror.

我的心把她的波浪在世界的海岸上沖激著,以熱淚在上邊寫(xiě)著她的題記:“我愛(ài)你。”

My heart beats her waves at the shore of the world and writes upon it her signature in tears with the words, “I love thee.“

“月兒呀,你在等候什么呢?”

“向我將讓位給他的太陽(yáng)致敬。”

Moon, for what do you wait?

To salute the sun for whom I must make way.

綠樹(shù)長(zhǎng)到了我的窗前,仿佛是喑啞的大地發(fā)出的渴望的聲音。

The trees come up to my window like the yearning voice of the dumb earth.

神自己的清晨,在他自己看來(lái)也是新奇的。

His own mornings are new surprises to God.

生命從世界得到資產(chǎn),愛(ài)情使它得到價(jià)值。

Life finds its wealth by the claims of the world, and its worth by the claims of love.

枯竭的河床,并不感謝它的過(guò)去。

The dry river-bed finds no thanks for its past.

鳥(niǎo)兒愿為一朵云。

云兒愿為一只鳥(niǎo)。

The bird wishes it were a cloud.

The cloud wishes it were a bird.

瀑布歌唱道:“我得到自由時(shí)便有了歌聲了。”

The waterfall sing, “I find my song, when I find my freedom.“

我說(shuō)不出這心為什么那樣默默地頹喪著。是為了它那不曾要求,不曾知道,不曾記得的小小的需要。

I cannot tell why this heart languishes in silence.

It is for small needs it never asks, or knows or remembers.

婦人,你在料理家務(wù)的時(shí)候,你的手足歌唱著,正如山間的溪水歌唱著在小石中流過(guò)。

Woman, when you move about in your household service your limbs singlike a hill stream among its pebbles.

當(dāng)太陽(yáng)橫過(guò)西方的海面時(shí),對(duì)著東方留下他的最后的敬禮。

The sun goes to cross the Western sea, leaving its last salutation to the East.

不要因?yàn)槟阕约簺](méi)有胃口而去責(zé)備你的食物。

Do not blame your food because you have no appetite.

群樹(shù)如表示大地的愿望似的,踮起腳來(lái)向天空窺望。

The trees, like the longings of the earth, stand atiptoe to peep at the heaven.

你微微地笑著,不同我說(shuō)什么話。而我覺(jué)得,為了這個(gè),我已等待得久了。

You smiled and talked to me of nothing and I felt that for this

I had been waiting long.

水里的游魚(yú)是沉默的,陸地上的獸類是喧鬧的,空中的飛鳥(niǎo)是歌唱著的。但是,人類卻兼有海里的沉默,地上的喧鬧與空中的音樂(lè)。

The fish in the water is silent, the animal on the earth is noisy,

the bird in the air is singing.

But Man has in him the silence of the sea, the noise of the earth and

the music of the air.

世界在躊躇之心的琴弦上跑過(guò)去,奏出憂郁的樂(lè)聲。

The world rushes on over the strings of the lingering heart making the music of sadness.

他把他的刀劍當(dāng)作他的上帝。當(dāng)他的刀劍勝利的時(shí)候他自己卻失敗了。

He has made his weapons his gods.

When his weapons win he is defeated himself.

神從創(chuàng)造中找到他自己。

God finds himself by creating.

陰影戴上她的面幕,秘密地,溫順地,用她的沉默的愛(ài)的腳步,跟在“光”后邊。

Shadow, with her veil drawn, follows Light in secret meekness,with her silent steps of love.

群星不怕顯得象螢火那樣。

The stars are not afraid to appear like fireflies.

謝謝神,我不是一個(gè)權(quán)力的輪子,而是被壓在這輪子下的活人之一。

I thank thee that I am none of the wheels of power but I am one with the living creatures that are crushed by it.

心是尖銳的,不是寬博的,它執(zhí)著在每一點(diǎn)上,卻并不活動(dòng)。

The mind, sharp but not broad, sticks at every point but does not move.

泰戈?duì)柕慕?jīng)典愛(ài)情詩(shī)是什么?

最經(jīng)典的,應(yīng)該是最遙遠(yuǎn)的距離吧····然后泰戈?duì)?經(jīng)典愛(ài)情詩(shī)1夏天的飛鳥(niǎo),飛到我的窗前唱歌,又飛去了。 

秋天的黃葉,它們沒(méi)有什么可唱,只嘆息一聲,飛落在那里。 

Stray birds of summer come to my window to sing and fly away.

And yellow leaves of autumn, which have no songs, flutter and fall

there with a sign.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)2

世界上的一隊(duì)小小的漂泊者呀,請(qǐng)留下你們的足印在我的文字里。 

O Troupe of little vagrants of the world, leave your footprints in my words.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)3

世界對(duì)著它的愛(ài)人,把它浩翰的面具揭下了。 

它變小了,小如一首歌,小如一回永恒的接吻。 

The world puts off its mask of vastness to its lover.

It becomes small as one song, as one kiss of the eternal.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)4

是大地的淚點(diǎn),使她的微笑保持著青春不謝。 

It is the tears of the earth that keep here smiles in bloom.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)5

無(wú)垠的沙漠熱烈追求一葉綠草的愛(ài),她搖搖頭笑著飛開(kāi)了。

The mighty desert is burning for the love of a bladeof grass who

shakes her head and laughs and flies away.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)6

如果你因失去了太陽(yáng)而流淚,那么你也將失去群星了。 

If you shed tears when you miss the sun, you also miss the stars.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)7

跳舞著的流水呀,在你途中的泥沙,要求你的歌聲,你的流動(dòng)呢。你肯挾瘸足的泥沙而俱下么? 

The sands in your way beg for your song and your movement, dancing water. Will you carry the burden of their lameness?

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)8

她的熱切的臉,如夜雨似的,攪擾著我的夢(mèng)魂。 

Her wishful face haunts my dreams like the rain at night.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)9

有一次,我們夢(mèng)見(jiàn)大家都是不相識(shí)的。 

我們醒了,卻知道我們?cè)窍嘤H相愛(ài)的。 

Once we dreamt that we were strangers.

We wake up to find that we were dear to each other.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)10

憂思在我的心里平靜下去,正如暮色降臨在寂靜的山林中。 

Sorrow is hushed into peace in my heart like the evening among the silent trees.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)11

有些看不見(jiàn)的手,如懶懶的微(風(fēng)思)的,正在我的心上奏著潺(氵爰)的樂(lè)聲。 

Some unseen fingers, like an idle breeze, are playing upon my heart the music of the ripples.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)12

“海水呀,你說(shuō)的是什么?” 

“是永恒的疑問(wèn)。” 

“天空呀,你回答的話是什么?” 

“是永恒的沉默。” 

What language is thine, O sea?

The language of eternal question.

What language is thy answer, O sky?

The language of eternal silence.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)13

靜靜地聽(tīng),我的心呀,聽(tīng)那世界的低語(yǔ),這是它對(duì)你求愛(ài)的表示呀。 

Listen, my heart, to the whispers of the world with which it makes love to you.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)14

創(chuàng)造的神秘,有如夜間的黑暗--是偉大的。而知識(shí)的幻影卻不過(guò)如晨間之霧。 

The mystery of creation is like the darkness of night--it is great. Delusions of knowledge are like the fog of the morning.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)15

不要因?yàn)榍捅谑歉叩模阕屇愕膼?ài)情坐在峭壁上。

Do not seat your love upon a precipice because it is high.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)16

我今晨坐在窗前,世界如一個(gè)路人似的,停留了一會(huì),向我點(diǎn)點(diǎn)頭又走過(guò)去了。 

I sit at my window this morning where the world like a passer-by stops for a moment, nods to me and goes.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)17

這些微(風(fēng)思),是樹(shù)葉的簌簌之聲呀;它們?cè)谖业男睦餁g悅地微語(yǔ)著。

There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)18

你看不見(jiàn)你自己,你所看見(jiàn)的只是你的影子。 

What you are you do not see, what you see is your shadow.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)19

神呀,我的那些愿望真是愚傻呀,它們雜在你的歌聲中喧叫著呢。 

讓我只是靜聽(tīng)著吧。 

My wishes are fools, they shout across thy song, my Master.

Let me but listen.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)20

我不能選擇那最好的。 

是那最好的選擇我。 

I cannot choose the best.

The best chooses me.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)21

那些把燈背在背上的人,把他們的影子投到了自己前面。 

They throw their shadows before them who carry their lantern on their back.

泰戈?duì)柦?jīng)典愛(ài)情詩(shī)22我的存在,對(duì)我是一個(gè)永久的神奇,這就是生活。 

That I exist is a perpetual surprise which is life.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)23

“我們蕭蕭的樹(shù)葉都有聲響回答那風(fēng)和雨。你是誰(shuí)呢,那樣的沉默著?”

“我不過(guò)是一朵花。” 

We, the rustling leaves, have a voice that answers the storms,

but who are you so silent?“

I am a mere flower.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)24

休息與工作的關(guān)系,正如眼瞼與眼睛的關(guān)系。 

Rest belongs to the work as the eyelids to the eyes.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)25

人是一個(gè)初生的孩子,他的力量,就是生長(zhǎng)的力量。

Man is a born child, his power is the power of growth.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)26

神希望我們酬答他,在于他送給我們的花朵,而不在于太陽(yáng)和土地。 

God expects answers for the flowers he sends us, not for the sun the earth.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)27

光明如一個(gè)裸體的孩子,快快活活地在綠葉當(dāng)中游戲,它不知道人是會(huì)欺詐的。 

The light that plays, like a naked child, among the green leaves happily knows not that man can lie.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)28

啊,美呀,在愛(ài)中找你自己吧,不要到你鏡子的諂諛去找尋。

O Beauty, find thyself in love, not in the flattery of thy mirror.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)29

我的心把她的波浪在世界的海岸上沖激著,以熱淚在上邊寫(xiě)著她的題記:“我愛(ài)你。” 

My heart beats her waves at the shore of the world and writes upon it her signature in tears with the words, “I love thee.“

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)30

“月兒呀,你在等候什么呢?” 

“向我將讓位給他的太陽(yáng)致敬。” 

Moon, for what do you wait?

To salute the sun for whom I must make way.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)31

綠樹(shù)長(zhǎng)到了我的窗前,仿佛是喑啞的大地發(fā)出的渴望的聲音。

The trees come up to my window like the yearning voice of the dumb earth.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)32

神自己的清晨,在他自己看來(lái)也是新奇的。 

His own mornings are new surprises to God.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)33

生命從世界得到資產(chǎn),愛(ài)情使它得到價(jià)值。 

Life finds its wealth by the claims of the world, and its worth by the claims of love.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)34 枯竭的河床,并不感謝它的過(guò)去。 

The dry river-bed finds no thanks for its past.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)35

鳥(niǎo)兒愿為一朵云。 

云兒愿為一只鳥(niǎo)。 

The bird wishes it were a cloud.

The cloud wishes it were a bird.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)36

瀑布歌唱道:“我得到自由時(shí)便有了歌聲了。” 

The waterfall sing, “I find my song, when I find my freedom.“

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)37 

我說(shuō)不出這心為什么那樣默默地頹喪著。是為了它那不曾要求,不曾知道,不曾記得的小小的需要。 

I cannot tell why this heart languishes in silence.

It is for small needs it never asks, or knows or remembers.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)38

 

婦人,你在料理家務(wù)的時(shí)候,你的手足歌唱著,正如山間的溪水歌唱著在小石中流過(guò)。 

Woman, when you move about in your household service your limbs singlike a hill stream among its pebbles.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)39

當(dāng)太陽(yáng)橫過(guò)西方的海面時(shí),對(duì)著東方留下他的最后的敬禮。 

The sun goes to cross the Western sea, leaving its last salutation to the East.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)40

不要因?yàn)槟阕约簺](méi)有胃口而去責(zé)備你的食物。 

Do not blame your food because you have no appetite.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)41

群樹(shù)如表示大地的愿望似的,踮起腳來(lái)向天空窺望。 

The trees, like the longings of the earth, stand atiptoe to peep at the heaven.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)42

你微微地笑著,不同我說(shuō)什么話。而我覺(jué)得,為了這個(gè),我已等待得久了。

You smiled and talked to me of nothing and I felt that for this

I had been waiting long.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)43

水里的游魚(yú)是沉默的,陸地上的獸類是喧鬧的,空中的飛鳥(niǎo)是歌唱著的。但是,人類卻兼有海里的沉默,地上的喧鬧與空中的音樂(lè)。 

The fish in the water is silent, the animal on the earth is noisy,

the bird in the air is singing.

But Man has in him the silence of the sea, the noise of the earth and

the music of the air.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)44

世界在躊躇之心的琴弦上跑過(guò)去,奏出憂郁的樂(lè)聲。 

The world rushes on over the strings of the lingering heart making the music of sadness.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)45

他把他的刀劍當(dāng)作他的上帝。當(dāng)他的刀劍勝利的時(shí)候他自己卻失敗了。 

He has made his weapons his gods.

When his weapons win he is defeated himself.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)46

神從創(chuàng)造中找到他自己。

God finds himself by creating.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)47

陰影戴上她的面幕,秘密地,溫順地,用她的沉默的愛(ài)的腳步,跟在“光”后邊。 

Shadow, with her veil drawn, follows Light in secret meekness,with her silent steps of love.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)48

群星不怕顯得象螢火那樣。 

The stars are not afraid to appear like fireflies.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)49

謝謝神,我不是一個(gè)權(quán)力的輪子,而是被壓在這輪子下的活人之一。 

I thank thee that I am none of the wheels of power but I am one with the living creatures that are crushed by it.

泰戈?duì)?經(jīng)典愛(ài)情詩(shī)50

心是尖銳的,不是寬博的,它執(zhí)著在每一點(diǎn)上,卻并不活動(dòng)。 

The mind, sharp but not broad, sticks at every point but does not move.

Flutter實(shí)現(xiàn)原生推送-友盟推送iOS版

本文講解是的是,flutter 如何添加推送能力,極光推送也有一個(gè)插件,但是好像無(wú)法實(shí)現(xiàn)點(diǎn)擊推送,讓APP 冷啟動(dòng)并并進(jìn)入對(duì)應(yīng)的業(yè)務(wù)子頁(yè)面。

最好的辦法就是自己去實(shí)現(xiàn)一下,一方面增加交互的理解,還可以加深記憶,總之能自己造輪子的自己造一個(gè)。

在這里,我們公司采用的友盟推送,其實(shí)邏輯都差不多的,下面我們進(jìn)入正題。

到這里基本上就算搞定了,但是點(diǎn)擊推送的冷啟動(dòng)咋辦,接下來(lái)

標(biāo)題名稱:flutter輪子哪個(gè)好,flutter怎么樣
網(wǎng)站地址:http://chinadenli.net/article5/dsggcoi.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站企業(yè)網(wǎng)站制作全網(wǎng)營(yíng)銷推廣建站公司定制網(wǎng)站定制開(kāi)發(fā)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都app開(kāi)發(fā)公司