Initial Flutter scaffold: Riverpod + GoRouter + Dio
This commit is contained in:
8
lib/config/env.dart
Normal file
8
lib/config/env.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
class Env {
|
||||
static const String apiBaseUrl = String.fromEnvironment(
|
||||
'API_BASE_URL',
|
||||
defaultValue: 'http://localhost:3000',
|
||||
);
|
||||
|
||||
// Add more environment variables as needed
|
||||
}
|
||||
Reference in New Issue
Block a user