mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-10 07:07:17 +00:00
17 lines
393 B
Dart
17 lines
393 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
|
import 'package:syncrow_app/main.dart';
|
|
|
|
Widget buildNumberAndEnvironmentLabel() {
|
|
String envNAME = dotenv.env['ENV_NAME'] ?? '';
|
|
|
|
return SizedBox(
|
|
child: Center(
|
|
child: Text(
|
|
'\n$envNAME \nBuild Number $buildNumber',
|
|
textAlign: TextAlign.center,
|
|
),
|
|
),
|
|
);
|
|
}
|