Framework commit: 6dd929ab289c90cdb22e07a3c650115cbdc55728
Engine PR: https://github.com/flutter/engine/pull/54972/commits/95e95ec01f648339a1ca4d159ae5bdbd9a68d716
| import 'package:flutter/cupertino.dart'; | |
| void main() { | |
| runApp( | |
| CupertinoApp( | |
| home: CupertinoPageScaffold( | |
| navigationBar: CupertinoNavigationBar( | |
| trailing: CupertinoButton( | |
| child: Text('Close'), | |
| onPressed: () {}, |
| import 'package:flutter/cupertino.dart'; | |
| void main() { | |
| runApp( | |
| const CupertinoApp( | |
| home: CupertinoPageScaffold( | |
| navigationBar: CupertinoNavigationBar(), | |
| child: Text('Hello world'), | |
| ), | |
| ), |
| Center() | |
| <| DecoratedBox( | |
| BoxDecoration( | |
| color: Colors.white, | |
| borderRadius: BorderRadius.circular(20), | |
| boxShadow: [ | |
| BoxShadow( | |
| color: Colors.grey.withValues(alpha: 0.5), | |
| offset: Offset(3, 3) | |
| ) |
| Center() | |
| <| DecoratedBox( | |
| decoration: BoxDecoration( | |
| color: Colors.white, | |
| borderRadius: BorderRadius.circular(20), | |
| boxShadow: [ | |
| BoxShadow( | |
| color: Colors.grey.withValues(alpha: 0.5), | |
| offset: Offset(3, 3) | |
| ) |
| #include <flutter/dart_project.h> | |
| #include <flutter/flutter_view_controller.h> | |
| #include <flutter/generated_plugin_registrant.h> | |
| #include <windows.h> | |
| #include "flutter_window.h" | |
| #include "utils.h" | |
| int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, | |
| _In_ wchar_t *command_line, _In_ int show_command) { |
| class Key {} | |
| class Size {} | |
| class Widget {} | |
| // Decorator uses Dart callable magic | |
| // https://dart.dev/language/callable-objects | |
| class SizedBoxDecorator { | |
| SizedBoxDecorator(this.child); | |
| final Widget child; |
| import 'dart:convert'; | |
| void main() { | |
| String text = "This string will be base64 encoded!"; | |
| print(base64Encode(utf8.encode(text))); | |
| } |
Framework commit: 6dd929ab289c90cdb22e07a3c650115cbdc55728
Engine PR: https://github.com/flutter/engine/pull/54972/commits/95e95ec01f648339a1ca4d159ae5bdbd9a68d716
To generate top_200_popular_packages_20240718.json:
.mode list
.output sources/top_200_popular_packages_20240605.txt
SELECT
lower_id
FROM 'tables/package_scores.json'
ORDER BY popularity_score DESC| Design doc | Link |
|---|---|
| A Foundation for 2D scrolling | https://docs.flutter.dev/go/2D-Foundation |
| Support Links in Android Accessibility | https://docs.flutter.dev/go/a11y-links |
| A11y Support Text Attributes | https://docs.flutter.dev/go/a11y-text-attributes |
| Actions API Design Revision | https://docs.flutter.dev/go/actions-and-shortcuts-design-revision |
| Add Additional Options to Selection Controls | https://docs.flutter.dev/go/add-missing-features-to-selection-controls |
| Add-to-APp Samples | https://docs.flutter.dev/go/add-to-app-samples |
| Allow DataTable row height to expand | https://docs.flutter.dev/go/allow-datatable-row-height-to-expand |
| Analyze Flutter in Runtime | https://docs.flutter.dev/go/analyze-flutter-in-runtime |