ant_design_flutter 0.0.1+5 copy "ant_design_flutter: ^0.0.1+5" to clipboard
ant_design_flutter: ^0.0.1+5 copied to clipboard

A Flutter UI framework designed for web / pc application, contains some high quality widgets.

example/main.dart

import 'package:ant_design_flutter/ant_design_flutter.dart';

void main() {
  runApp(const MyApp());
}

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

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

class _MyAppState extends State<MyApp> {
  int count = 0;

  @override
  Widget build(BuildContext context) {
    return AntApp(
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text('You have clicked the button $count times'),
              const SizedBox(height: 8),
              Button(
                type: ButtonType.primary,
                onClick: () => setState(() => count++),
                child: const Text('Click'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
78
likes
120
pub points
80%
popularity

Publisher

verified publisherantdf.xyz

A Flutter UI framework designed for web / pc application, contains some high quality widgets.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dotted_border, flutter, flutter_spinkit

More

Packages that depend on ant_design_flutter