flutter_antd 0.0.1 copy "flutter_antd: ^0.0.1" to clipboard
flutter_antd: ^0.0.1 copied to clipboard

Ant design of flutter

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'button.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Example',
      darkTheme: ThemeData.dark(),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Widgets')),
      body: ListView(children: [
        ListTile(
          title: const Text('Button'),
          onTap: () => Get.to(() => const ButtonPage()),
        )
      ]),
    );
  }
}
1
likes
80
pub points
0%
popularity

Publisher

unverified uploader

Ant design of flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_antd