2020 flutter
This year, mobile applications continued to become more and more popular. Fortunately there are many programming tools available to developers who want to create them. Among these tools there is Flutter, which has distinguished itself lately.
今年,移动应用程序继续变得越来越流行。 幸运的是,有许多编程工具可供想要创建它们的开发人员使用。 在这些工具中有Flutter,该工具最近很出众。
什么是颤振? (What is Flutter?)
Flutter is a free and open-source mobile UI framework created by Google and released in May 2017. In a few words, it allows you to create a native mobile application with only one codebase. This means that you can use one programming language and one codebase to create two different apps (for iOS and Android).
Flutter是Google创建的免费开放源代码移动UI框架,于2017年5月发布。简而言之,它允许您仅使用一个代码库创建本机移动应用程序。 这意味着您可以使用一种编程语言和一种代码库来创建两个不同的应用程序(适用于iOS和Android)。
Flutter consists of two important parts:
Flutter由两个重要部分组成:
- An SDK (Software Development Kit): A collection of tools that are going to help you develop your applications. This includes tools to compile your code into native machine code (code for iOS and Android). SDK(软件开发套件):一系列可帮助您开发应用程序的工具。 这包括将您的代码编译为本机代码(iOS和Android的代码)的工具。
- A Framework (UI Library based on widgets): A collection of reusable UI elements (buttons, text inputs, sliders, and so on) that you can personalize for your own needs. 框架(基于窗口小部件的UI库):您可以根据自己的需求进行个性化的可重复使用的UI元素(按钮,文本输入,滑块等)的集合。
To develop with Flutter, you will use a programming language called Dart. The language was created by Google in October 2011, but it has improved a lot over these past years.
要使用Flutter进行开发,您将使用一种称为Dart的编程语言。 该语言是Google于2011年10月创建的,但在过去的几年中,它有了很大的改进。
Dart focuses on front-end development, and you can use it to create mobile and web applications.
Dart专注于前端开发,您可以使用它来创建移动和Web应用程序。
If you know a bit of programming, Dart is a typed object programming language. You can compare Dart's syntax to JavaScript.
如果您懂一些编程,那么Dart是一种类型化的对象编程语言。 您可以将Dart的语法与JavaScript进行比较。
“Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.” - Google, flutter.dev
“ Flutter是Google的UI工具包,可通过单个代码库为移动,Web和桌面构建漂亮的,本机编译的应用程序。”