# flutter_application_1 **Repository Path**: demrin/flutter_application_1 ## Basic Information - **Project Name**: flutter_application_1 - **Description**: 首个flutter app,flutter入门案例 - **Primary Language**: Dart - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-08-05 - **Last Updated**: 2022-10-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_application_1 新手入门,尝试一步一步搭建一个完整的app,以及碰到的一些问题会做一个统计归纳,或者在代码中给到较为详细的注释,也能避免Baidu不到的窘迫 ## Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) For help getting started with Flutter, view our [online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on mobile development, and a full API reference. ## 新手备忘录 - 数据类型 ``` Number 数字类型,包括 int整型和double浮点型; int 整型,取值范围为-2^53到2^53,int类型不能包含小数点; double 浮点型,64位(双精度)浮点数; num 数字类型,int和double都是num类型的子类,num类型包括的运算操作有:+、-、*、/、以及移位操作>>,num类型包括的常用方法有:abs、ceil和floor; String 字符串 Boolean 布尔值 List 数组 Map 集合 对应 js的Object symbol 符号 ``` - http 请求时,必须将参数转为字符串类型 ``` var url = new Uri.https('192.168.50.19', '/oceanAPI/v1/filters/tables', { 'key': '', 'type': '', 'page': 1, 'len': 10, 'timeRange': '2018-07-11', 'privkey': 1, 'public': '' }); ``` ``` var url = new Uri.https('192.168.50.19', '/oceanAPI/v1/filters/tables/', { 'key': '', 'type': '', 'page': '1', 'len': '10', // 'timeRange': '2018-07-11', 'privkey': '1', 'public': '' }); ```