Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Flutter (software)

From Wikipedia, the free encyclopedia
Open-source UI software development kit (SDK) for cross-platform applications
Flutter
Original authorGoogle
DevelopersGoogle and community
Initial releaseAlpha (v0.0.6) / May 12, 2017; 8 years ago (2017-05-12)[1]
Stable release
3.35.1 Edit this on Wikidata / 15 August 2025; 2 months ago (15 August 2025)
Repository
Written inC,C++,Dart[2]
PlatformAndroid,iOS,Google Fuchsia,Web platform,Linux,macOS andWindows
TypeApplication framework
LicenseNew BSD License
Websiteflutter.dev

Flutter is anopen-sourceUIsoftware development kit created byGoogle. It can be used to developcross platform applications from asinglecodebase for theweb,[3]Fuchsia,Android,iOS,Linux,macOS, andWindows.[4] First described in 2015,[5][6] Flutter was released in May 2017. Flutter is used internally by Google in apps such asGoogle Pay[7][8] andGoogle Earth[9][10] as well as by other software developers includingByteDance[11][12] andAlibaba.[13][14]

Flutter ships applications with its own rendering engine which directly outputs pixel data to the screen.[15][16] This is in contrast to many other UIframeworks that rely on the target platform to provide a rendering engine, such as nativeAndroid apps which rely on the device-levelAndroid SDK orIOS SDK which use the target platform's built-in UI stack. Flutter's control of its rendering pipeline simplifies multi-platform support as identical UI code can be used for all target platforms.[16]

Architecture

[edit]

The basic component in a Flutter program is a "widget", which can in turn consist of other widgets.[17] A widget describes the logic, interaction, and design of a UI element with an implementation similar toReact.[17] Unlike other cross-platform toolkits such asReact Native andXamarin which draw widgets using native platform components, Flutter renders widgets itself on a per-pixel basis. Flutter has two types of widgets:stateless andstateful. Stateless widgets only update if their inputs change, meaning they otherwise won't need to be rebuilt when other elements of the screen change, while stateful widgets can call thesetState() method to update an internal state and redraw.[17][18] Although widgets are the primary method of constructing Flutter applications, they can also be bypassed in favor of directly drawing on a canvas. This feature has been occasionally used to implement game engines in Flutter.[19]

The Flutter framework contains two sets of widgets that conform to specific design languages:Material Design widgets implement Google'sdesign language of the same name, andCupertino widgets implement Apple'siOSHuman interface guidelines.[20][21] Flutter allows the developer to use either set of widgets on either platform. Developers can use Cupertino widgets on Android.

Flutter apps are written in theDart language. Release versions of Flutter apps on all platforms useahead-of-time (AOT) compilation[22] except for on the Web where code istranspiled toJavaScript or WebAssembly.[23][24] Flutter inherits Dart'sPubpackage manager andsoftware repository, which allows users to publish and use custom packages as well as Flutter-specific plugins.[25] The Foundation library, written inDart, provides basic classes and functions that are used to construct applications using Flutter, such asAPIs to communicate with the engine.[21][26]

Flutter's engine, written primarily inC++, provides low-levelrendering support using either Google'sSkia graphics library or the custom "Impeller" graphics layer, which is enabled by default on iOS and Android API 29 and higher.[27][28][29] The engine interfaces withplatform-specificSDKs such as those provided byAndroid andiOS to implement features like accessibility, file and network I/O, native plugin support, etc.[21]

History

[edit]

The first version of Flutter was known as "Sky" and ran on theAndroidoperating system.[30] It was unveiled at the 2015Dart developer summit with the stated intent of being able torender consistently at 120frames per second.[30] On December 4, 2018, Flutter 1.0 was released at the Flutter conference in London.[31]

On May 6, 2020, the Dart software development kit (SDK) version 2.8 and Flutter 1.17.0 were released, adding support for theMetalAPI.[32]

On March 3, 2021, Google released Flutter 2 during an online Flutter Engage event.[7][33] It added aCanvas-based renderer for web in addition to the HTML-based renderer and early-access desktop application support forWindows,macOS, andLinux.[33][7] It also shipped with Dart 2.0 which included support fornull-safety.[7][34] Null safety was initially optional as it was a breaking change and was made mandatory in Dart 3 released in 2023.[34][35]

On May 12, 2022, Flutter 3 and Dart 2.17 were released with support for all desktop platforms as stable.[36]

On October 27, 2024, a number of Flutter community developers announcedFlock, a fork of Flutter intended to be easier to contribute to while still keeping in sync with all changes made in the upstream code base.[37][38]

See also

[edit]

References

[edit]
  1. ^Chris Bracken."Release v0.0.6: Rev alpha branch version to 0.0.6, flutter 0.0.26 (#10010) · flutter/flutter".GitHub.Archived from the original on 2019-02-05. Retrieved2018-08-08.
  2. ^"FAQ - Flutter".Archived from the original on 2019-02-23. Retrieved2018-08-08.
  3. ^Amadeo, Ron (2018-02-27)."Google starts a push for cross-platform app development with Flutter SDK".Ars Technica.Archived from the original on 2021-10-08. Retrieved2021-06-11.
  4. ^Amadeo, Ron (8 May 2017)."Google's "Fuchsia" smartphone OS dumps Linux, has a wild new UI". Ars Technica.Archived from the original on 26 September 2019. Retrieved18 March 2018.
  5. ^"With Flutter, Google Aims Dart to Mobile App Cross-Development".InfoQ.Archived from the original on 2022-04-28. Retrieved2022-03-17.
  6. ^"Google announces Flutter 1.0, the first stable release of its cross-platform mobile development toolkit".Android Police. 2018-12-05.Archived from the original on 2022-05-25. Retrieved2022-03-17.
  7. ^abcdClaburn, Thomas (3 Mar 2021)."Google's multi-platform app framework Flutter reaches version 2, expands to the web".theregister.com.
  8. ^"Going global at Google Pay with Flutter".Archived from the original on 2024-03-31. Retrieved2024-04-02.
  9. ^Schoon, Ben (September 26, 2023)."Google Earth gets a redesigned Android app with Projects support, removes Voyager".9to5google.com.
  10. ^"Check out the new @googleearth for iOS, Android, and web with UI built using Flutter, all from a single codebase".Archived from the original on 2024-04-02. Retrieved2024-04-02.
  11. ^Lardinois, Frederic (11 May 2022)."Google's Flutter 3 adds support for macOS and Linux desktop apps".TechCrunch.On the mobile side, companies like WeChat, ByteDance, Betterment, SHEIN and BMW are now betting on Flutter — as does Google itself.
  12. ^"Increasing productivity by 33% at ByteDance with Flutter".Archived from the original on 2024-04-02. Retrieved2024-04-02.
  13. ^Lardinois, Frederic (4 December 2018)."Google's cross-platform Flutter UI toolkit hits version 1.0".TechCrunch.
  14. ^"Alibaba scales China's largest second-hand marketplace with Flutter".Archived from the original on 2024-03-30. Retrieved2024-04-02.
  15. ^"Flutter architectural overview".docs.flutter.dev. Retrieved2024-07-26.
  16. ^abClaburn, Thomas (12 Nov 2021)."Apps made with Google's Flutter may fritter away CPU cycles. Here's what the web giant intends to do about it".theregister.com.It does so by relying heavily on Skia, a graphics-rendering engine written in C/C++ that uses a device's CPU or GPU to draw app interfaces on its own, without relying on native platform interface libraries.
  17. ^abcWindmill, Eric; Rischpater, Ray (2020).Flutter in action. Shelter Island, NY: Manning Publications Co. pp. 12, 16.ISBN 9781617296147.
  18. ^"Introduction to widgets".docs.flutter.dev.Archived from the original on 2022-10-06. Retrieved2022-10-06.
  19. ^"Flame".flame-engine.org.Archived from the original on 2022-09-27. Retrieved2022-10-06.
  20. ^Anderson, Tim (5 Aug 2020)."Google reports 80% spike of Flutter-built apps in Play Store as 1.20 is released".theregister.com.In general the design style follows Google's Material Design guidelines, making it particularly at home on Android (as you would expect from Google), but there is also support for Cupertino widgets for a native iOS look and feel.
  21. ^abc"Technical Overview - Flutter".flutter.dev.Archived from the original on 2020-06-16. Retrieved2017-12-13.
  22. ^stephenwzl (2018-08-01)."Flutter's Compilation Patterns".ProAndroidDev.Archived from the original on 2020-06-09. Retrieved2018-12-06.
  23. ^Lardinois, Frederic (25 January 2023)."Google's Flutter showcases new graphics capabilities, WebAssembly and RISC-V support".TechCrunch.
  24. ^Thomsen, Michael (2024-05-14)."Landing Flutter 3.22 and Dart 3.4 at Google I/O 2024".Flutter. Retrieved2024-05-17.
  25. ^"Using packages".docs.flutter.dev.Archived from the original on 2022-10-06. Retrieved2022-10-06.
  26. ^"foundation library - Dart API".docs.flutter.dev.Archived from the original on 2020-06-16. Retrieved2017-12-13.
  27. ^"Flutter architectural overview".docs.flutter.dev. Retrieved2024-07-26.
  28. ^"Impeller rendering engine".docs.flutter.dev. Retrieved2024-05-17.
  29. ^Bradshaw, Kyle (January 25, 2023)."Google releases Flutter 3.7, teases future of app development framework".9to5google.com.
  30. ^abAmadeo, Ron (1 May 2015)."Google's Dart language on Android aims for Java-free, 120 FPS apps".Ars Technica.Archived from the original on 6 May 2015. Retrieved13 December 2017.
  31. ^Amadeo, Ron (4 December 2018)."Google bridges Android and iOS development with Flutter 1.0".Ars Technica.
  32. ^Siddiqui, Aamir (6 May 2020)."Google releases Flutter 1.17 and Dart 2.8 stable SDKs for app development".XDA.Flutter now uses Metal by default when building for supported iOS devices, making Flutter apps run faster.
  33. ^abLardinois, Frederic (3 March 2021)."Version 2 of Google's Flutter toolkit adds support for desktop and web apps".TechCrunch.
  34. ^abWander, Zachary (3 March 2021)."Dart 2.12 has been released, with null-safety and C interoperability".XDA.
  35. ^Claburn, Thomas (9 Dec 2022)."Google's Dart language soon won't take null for an answer".theregister.com.
  36. ^Claburn, Thomas (11 May 2022)."Google's Flutter app development framework now stable across platforms".theregister.com.
  37. ^Larabel, Michael (29 October 2024)."Google's Flutter UI Toolkit Forked As Flock".phoronix.com. Retrieved30 October 2024.
  38. ^Krill, Paul."Google's Flutter framework has been forked".InfoWorld.
Google free and open-source software
Software
Applications
Programming languages
Frameworks and
development tools
Operating systems
Related

.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Flutter_(software)&oldid=1303373968"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp