Flutter Configuration

Estimated reading: 2 minutes 824 views

Change Application Name

1.In the main directory, lib/main/utils/AppConstants.dartfile.

const appName = 'YOUR APP NAME';

2. Change the name of the application and restart the app to apply changes.  

Change Server URL

In Main directory goto the utils folder and open lib/main/utils/AppConstants.dart file and change your Baseurl.

Base URL will combination of your url + wp-json

Eg. https://wordpress.iqonic.design/kivicare https://wordpress.iqonic.design/kivicare/wp-json

const mBaseUrl = 'YOUR SERVER URL';

Change Default Setting

  • Open lib/main.dart file. 
defaultBlurRadius = "YOUR VALUE";
defaultSpreadRadius = "YOUR VALUE";
defaultAppBarElevation = "YOUR VALUE";
textPrimaryColorGlobal = "YOUR COLOR";
textSecondaryColorGlobal = "YOUR COLOR";
textBoldSizeGlobal = "YOUR VALUE";
textPrimarySizeGlobal = "YOUR VALUE";
textSecondarySizeGlobal = "YOUR VALUE";
appButtonBackgroundColorGlobal = "YOUR VALUE";

Important:

Don't forget to add nb_utils package as above variable are from that package.

Change App Colors and Text Colors

In Main directory goto the lib/main/utils/AppColors.dart

Color primaryColor ="SET COLOR"
Color primaryDarkColor ="SET COLOR"
Color appPrimaryColor ="SET COLOR"
const appSecondaryColor ="SET COLOR"
const scaffoldDarkColor ="SET COLOR"
const cardDarkColor ="SET COLOR"
Color selectedColor ="SET COLOR"
const textPrimaryBlackColor ="SET COLOR"
const textSecondaryBlackColor ="SET COLOR"
const errorBackGroundColor ="SET COLOR"
const errorTextColor ="SET COLOR"
const successBackGroundColor ="SET COLOR"
const successTextColor ="SET COLOR"
const greenbackGroundColor ="SET COLOR"
const textPrimaryWhiteColor ="SET COLOR"
const textSecondaryWhiteColor ="SET COLOR"

Google Calendar Setup for Kivicare Pro - Clinic & Patient Management System EHR (Add-on)

To configure Google Calendar, click here.

Note:- Only admin can enable disable the google calender configration

 

 

 

 

Leave a Comment

Share this Doc

Flutter Configuration

Or copy link

CONTENTS