Google le Canonical li kentse tšebetsong bokhoni ba ho theha lits'ebetso tsa desktop bakeng sa Linux ho Flutter

Google le Canonical bua ka boikitlaetso bo kopanetsoeng ba ho fana ka ts'ehetso bakeng sa nts'etsopele ea lits'ebetso tsa litšoantšo tse thehiloeng ho moralo Flutter bakeng sa litsamaiso tsa li-desktop tsa Linux. Moralo oa mosebelisi oa Flutter ngotsoe ka puo ea Dart (enjine ea nako ea ho sebetsa bakeng sa ho sebelisa lits'ebetso ngotsoe ho C ++), e u lumella ho theha lits'ebetso tsa lefats'e tse sebetsang ho li-platform tse fapaneng, 'me e nkuoa e le mokhoa o mong oa React Native.

Leha ho na le Flutter SDK bakeng sa Linux, ho fihlela joale e se e sebelisoa feela bakeng sa nts'etsopele ea lisebelisoa tsa mehala mme ha e tšehetse lisebelisoa tsa komporo ea Linux. Selemong se fetileng, Google e phatlalalitse merero ea ho eketsa bokhoni ba nts'etsopele ea li-desktop ho Flutter mme e hlahisitse tokollo ea alpha bakeng sa nts'etsopele ea komporo ho macOS. Hona joale ke Flutter atolositsoe bokhoni ba ho hlahisa lisebelisoa tsa desktop bakeng sa Linux. Ts'ehetso bakeng sa nts'etsopele ea ts'ebeliso ea Windows e ntse e le sethaleng sa pele sa mohlala.

Ho fana ka sebopeho ho Linux e sebelisoa tlama ho ipapisitse le laeborari ea GTK (ba ts'episa ho eketsa tšehetso bakeng sa Qt le lisebelisoa tse ling hamorao). Ntle le puo ea tlhaho ea Flutter ea Dart, eo ho etsoang li-widget, lits'ebetso li ka sebelisa sebopeho sa Dart Foreign Function ho letsetsa khoutu ea C/C++ le ho fihlella bokhoni bohle ba sethala sa Linux.

Ts'ehetso bakeng sa nts'etsopele ea ts'ebeliso ea Linux e fanoang ka tokollo e ncha ea alpha FlutterSDK, e kenyelletsang le bokhoni ba ho phatlalatsa lits'ebetso tsa Linux bukeng ea Snap Store. Ka sebopeho sa snap u ka boela ua fumana kopano ea FlutterSDK. Ho nts'etsapele lits'ebetso tse ipapisitseng le Flutter, ho khothaletsoa ho sebelisa mohlophisi oa khoutu ea Visual Studio kapa tikoloho ea nts'etsopele ea IntelliJ le Android Studio.

E le mohlala oa mananeo a Linux a thehiloeng ho Flutter, kopo e latelang e hlahisoa: Mabitso a Flokk bakeng sa ho sebetsa le buka ea liaterese ea Google Contacts. Lethathamong la libuka pub.dev Li-plugins tse tharo tsa Flutter tse nang le tšehetso ea Linux li phatlalalitsoe: selelekela sa url_la ho bula URL ho sebatli sa kamehla, likgethollo_tse arolelanoang ho boloka li-setting lipakeng tsa mananeo le tsela_mofani ho hlalosa li-directory tse tloaelehileng (likhopolo, litšoantšo, livideo, joalo-joalo)

Google le Canonical li kentse tšebetsong bokhoni ba ho theha lits'ebetso tsa desktop bakeng sa Linux ho Flutter

Source: opennet.ru

Eketsa ka tlhaloso