Skip to content

trionesdev/triones-get-antd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antd Flutter 组件库的 Getx扩展

pub package

像使用MaterialApp一样在Getx中使用AntApp

使用方法

像使用MaterialApp一样在Getx中使用AntApp即可,将MaterialApp替换为GetAntApp, ThemeData换成AntThemeData。

示例代码如下:

  runApp(GetAntApp(
    title: 'XXX',
    theme: AntThemeData(),
    getPages: Routes.routes,
    home: const HomeLayout(),
    onInit: ()  async {

    },
    onReady: () {},
  ));

互相吹捧,共同进步

留言回复不及时,可以通过关注公众号联系我们

About

Getx 的Flutter Ant扩展

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages