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

outdated

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

example/main.dart

import 'package:ant_design_flutter/antdf.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: AntScaffold(
        body: Center(
          child: Column(
            children: [
              Text('You have clicked the button $count times'),
              const SizedBox(height: 8),
              Button(
                child: const Text('Click'),
                type: ButtonType.primary,
                onClick: () => setState(() => count++),
              ),
            ],
            mainAxisAlignment: MainAxisAlignment.center,
          ),
        ),
      ),
    );
  }
}
78
likes
0
pub points
80%
popularity

Publisher

verified publisherantdf.xyz

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

Homepage

License

unknown (LICENSE)

Dependencies

dotted_border, flutter, flutter_spinkit

More

Packages that depend on ant_design_flutter