android c 跨平台开发框架,GitHub - earthloong/flutter: Flutter框架,一言以蔽之就是能够使用一套相同的Dart语言代码同时实现android和ios跨平台应...

68747470733a2f2f666c75747465722e696f2f696d616765732f666c75747465722d6d61726b2d7371756172652d3130302e706e67 Flutter 68747470733a2f2f6261646765732e6769747465722e696d2f666c75747465722f666c75747465722e73766768747470733a2f2f7472617669732d63692e6f72672f666c75747465722f666c75747465722e7376673f6272616e63683d6d617374657268747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6d657969396576636e79363461326d672f6272616e63682f6d61737465723f7376673d7472756568747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f666c75747465722f666c75747465722f62616467652e7376673f6272616e63683d6d6173746572

A new mobile app SDK to help developers and designers build modern mobile apps for iOS and Android. Flutter is an alpha, open-source project.

Documentation

Fast development

Flutter's hot reload helps you quickly

and easily experiment, build UIs, add features, and fix

bugs faster. Experience sub-second reload times,

without losing state, on

emulators, simulators, and hardware for iOS

and Android.

fbf9a8d509e59541cc4dc5d5c1390ce3.gif

Expressive, beautiful UIs

Delight your users with Flutter's built-in

beautiful Material Design and

Cupertino (iOS-flavor) widgets, rich motion APIs,

smooth natural scrolling, and platform awareness.

75b24f239d8cbe9cc5d6a4a7be17db46.png

8861b022a133d7f4f87c773eaa880f07.png

2d19a0d6223e4dd73f4eaf0f00f38191.png

97e1e5a2631b7910102f1af5f424fc23.png

Modern, reactive framework

Easily compose your UI with Flutter's

modern functional-reactive framework and

rich set of platform, layout, and foundation widgets.

Solve your tough UI challenges with

powerful and flexible APIs for 2D, animation, gestures,

effects, and more.

class CounterState extends State {

int counter = 0;

void increment() {

// Tells the Flutter framework that state has changed,

// so the framework can run build() and update the display.

setState(() {

counter++;

});

}

Widget build(BuildContext context) {

// This method is rerun every time setState is called.

// The Flutter framework has been optimized to make rerunning

// build methods fast, so that you can just rebuild anything that

// needs updating rather than having to individually change

// instances of widgets.

return new Row(

children: [

new RaisedButton(

onPressed: increment,

child: new Text('Increment'),

),

new Text('Count: $counter'),

],

);

}

}

Access native features and SDKs

Make your app come to life

with platform APIs, 3rd party SDKs,

and native code.

Flutter lets you reuse your existing Java, Swift, and ObjC code,

and access native features and SDKs on iOS and Android.

Accessing platform features is easy. Here is a snippet from our interop example:

Future getBatteryLevel() async {

var batteryLevel = 'unknown';

try {

int result = await methodChannel.invokeMethod('getBatteryLevel');

batteryLevel = 'Battery level: $result%';

} on PlatformException {

batteryLevel = 'Failed to get battery level.';

}

setState(() {

_batteryLevel = batteryLevel;

});

}

Learn how to use packages, or

write platform channels,

to access native code, APIs, and SDKs.

Unified app development

Flutter has the tools and libraries to help you easily

bring your ideas to life on iOS and Android.

If you don't have any mobile development experience, Flutter

is an easy and fast way to build beautiful mobile apps.

If you are an experienced iOS or Android developer,

you can use Flutter for your views and leverage much of your

existing Java/ObjC/Swift investment.

Build

Beautiful app UIs

Rich 2D GPU-accelerated APIs

Reactive framework

Animation/motion APIs

Material Design and iOS widgets

Fluid coding experience

Sub-second, stateful hot reload

IntelliJ: refactor, code completion, etc

Dart language and core libs

Package manager

Full-featured apps

Interop with mobile OS APIs & SDKs

Maven/Java

Cocoapods/ObjC/Swift

Optimize

Test

Unit testing

Integration testing

On-device testing

Debug

IDE debugger

Web-based debugger

async/await aware

Expression evaluator

Profile

Timeline

CPU and memory

In-app perf charts

Deploy

Compile

Native ARM code

Dead code elimination

Distribution

App Store

Play Store

Learn more about what makes Flutter special in the

technical overview.

Join us in our Gitter chat room or join our public mailing list,

flutter-dev@googlegroups.com.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值