sy_flutter_widgets 0.1.1
sy_flutter_widgets: ^0.1.1 copied to clipboard
纯flutter Widget组件库,不依赖Native及其它第三方package。包括省市区选择器,Rate评分,Stepper步进器,照片墙,地址编辑,自带加载更多的ListView和GridView
example/lib/main.dart
import 'package:example/address_list.dart';
import 'package:example/home.dart';
import 'package:example/image_upload.dart';
import 'package:example/load_more_gridview.dart';
import 'package:example/load_more_listview.dart';
import 'package:example/rate.dart';
import 'package:example/stepper.dart';
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Demo',
initialRoute: '/',
debugShowCheckedModeBanner: false,
routes: {
'/': (context) => MyHomePage(title: 'sy_flutter_widgets demo'),
'/stepper': (context) => MyStepper(),
'/rate': (context) => RateDemo(),
'/listview': (context) => LoadMoreListView(),
'/gridview': (context) => LoadMoreGridView(),
'/image_uploader': (context) => ImageUpload(),
'/address_edit': (context) => AddressListPage(),
},
);
}
}