Using Themes
Using the default theme
Theme customization
Colors
Usage
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return AmitySLEProvider(
child: Builder(builder: (context) {
AmitySLEUIKit().configAmityThemeColor(context, (config) {
config.primaryColor = Colors.blue;
});
// Rest of your MaterialApp code
}),
);
}
}
Last updated
Was this helpful?