update
This commit is contained in:
@@ -30,14 +30,14 @@ part '../widgets/common_widgets.dart';
|
|||||||
|
|
||||||
const String kAppShortName = 'MyLIS';
|
const String kAppShortName = 'MyLIS';
|
||||||
const String kAppLongName =
|
const String kAppLongName =
|
||||||
'Mikrobiology Laboratory Information System (MyLIS)';
|
'Mikrobiology Laboratory Information System';
|
||||||
const String kHospitalName = 'Rumah Sakit Umum Daerah Dr. Saiful Anwar';
|
const String kHospitalName = 'Rumah Sakit Umum Daerah Dr. Saiful Anwar';
|
||||||
const String kAppLogoAsset = 'assets/branding/logo.png';
|
const String kAppLogoAsset = 'assets/branding/logo.png';
|
||||||
const String kHospitalLogoAsset = 'assets/branding/logo_rssa.png';
|
const String kHospitalLogoAsset = 'assets/branding/logo_rssa.png';
|
||||||
|
|
||||||
const String kDefaultBaseUrl = String.fromEnvironment(
|
const String kDefaultBaseUrl = String.fromEnvironment(
|
||||||
'LIS_BASE_URL',
|
'LIS_BASE_URL',
|
||||||
defaultValue: 'https://lis.swandhana.test/',
|
defaultValue: 'http://10.10.123.218',
|
||||||
);
|
);
|
||||||
|
|
||||||
class MyLisApp extends StatelessWidget {
|
class MyLisApp extends StatelessWidget {
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
prefixIcon: const Icon(Icons.link),
|
prefixIcon: const Icon(Icons.link),
|
||||||
labelText: 'URL Laravel',
|
labelText: 'IP Server',
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
suffixIcon: IconButton(
|
suffixIcon: IconButton(
|
||||||
tooltip: 'Ping server',
|
tooltip: 'Ping server',
|
||||||
@@ -277,7 +277,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 18),
|
const SizedBox(height: 18),
|
||||||
Text(
|
Text(
|
||||||
'Default: $kDefaultBaseUrl',
|
'Duidev Software House | CV Swandhana',
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: Theme.of(
|
style: Theme.of(
|
||||||
context,
|
context,
|
||||||
@@ -285,7 +285,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 18),
|
const SizedBox(height: 18),
|
||||||
Text(
|
Text(
|
||||||
'Pembuat aplikasi: Duidev Software House | CV Swandhana Copyright @ 2026',
|
'Copyright @ 2026',
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||||
color: Colors.black54,
|
color: Colors.black54,
|
||||||
|
|||||||
Reference in New Issue
Block a user