Statically define your resources for better performance, productivity and organization with a "à la" Android Framework resource folder scaffold. Contributions are welcome.
- colors
- images
- strings
- themes
- Copy the structure to your project folder
- Define your constants in each .dart file
Example usage in main.dart
Widget build(BuildContext context) {
return MaterialApp(
title: strings.appName,
theme: theme,
color: colors.primary,
home: MyHomePage(),
);
MIT