|
|
|
@ -2,10 +2,12 @@ import 'package:ansu_ui/ansu_ui.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
|
|
import 'example_numeric_button.dart';
|
|
|
|
|
import 'example_scaffold.dart';
|
|
|
|
|
import 'example_button.dart';
|
|
|
|
|
import 'example_tab_bar.dart';
|
|
|
|
|
import 'example_numeric_button.dart';
|
|
|
|
|
import 'example_tab_bar.dart';
|
|
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
|
runApp(MyApp());
|
|
|
|
@ -45,8 +47,15 @@ class _MyHomePageState extends State<MyHomePage> {
|
|
|
|
|
body: ListView(
|
|
|
|
|
padding: EdgeInsets.all(16.w),
|
|
|
|
|
children: [
|
|
|
|
|
ASButton.info(title:'Button',onPressed: () => Get.to(ExampleButton())),
|
|
|
|
|
ASButton.info(title:'Scaffold', onPressed:() => Get.to(ExampleScaffold())),
|
|
|
|
|
ASButton.info(
|
|
|
|
|
title: '按钮 Button', onPressed: () => Get.to(ExampleButton())),
|
|
|
|
|
ASButton.info(
|
|
|
|
|
title: 'Scaffold', onPressed: () => Get.to(ExampleScaffold())),
|
|
|
|
|
ASButton.info(
|
|
|
|
|
title: 'Tabbar', onPressed: () => Get.to(ExampleTabBar())),
|
|
|
|
|
ASButton.info(
|
|
|
|
|
title: '数量选择器NumericButton',
|
|
|
|
|
onPressed: () => Get.to(ExampleNumericButton())),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|