dxwidget 0.0.3 copy "dxwidget: ^0.0.3" to clipboard
dxwidget: ^0.0.3 copied to clipboard

outdated

An package of Flutter components for mobile applications.

example/lib/main.dart

import 'package:example/widgets/actionSheet.dart';
import 'package:flutter/material.dart';

void main() async => runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'DxWidget演示',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('DxWidget演示'),
        centerTitle: true,
      ),
      body: Container(
        color: const Color(0xfff7f8fa),
        child: SafeArea(
          child: SingleChildScrollView(
            child: Column(
              children: const <Widget>[
                // DemoButton(),
                // DemoCell(),
                // DemoPanel(),
                // DemoPrice(),
                // DemoDialog(),
                // DemoShareSheet(),
                DemoActionSheet()
              ],
            ),
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

An package of Flutter components for mobile applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dxwidget