This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use this command to see java paths: /usr/libexec/java_home -V | grep jdk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Navigator.of(context) | |
.pushNamedAndRemoveUntil('/login', (Route<dynamic> route) => false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isCareNumberValid = e.length >= careNumberLength; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onPressed: () { | |
SystemNavigator.pop(); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SchedulerBinding.instance.addPostFrameCallback((_) { | |
Provider.of<ProviderGroupOperations>(context).getGroupDetails(widget.uuid); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decoration: const BoxDecoration( | |
gradient: LinearGradient( | |
begin: Alignment.topCenter, | |
end: Alignment.bottomCenter, | |
colors: <Color>[ | |
Color(0xFF01D47F), | |
Color(0xFF59E0A2), | |
Color(0xFF01D47F), | |
Color(0xFF01D47F), | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Consumer<ProviderLanguage>(builder: (context, language, child){ | |
return Container(); | |
} | |
), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Container( | |
width : MediaQuery.of(context).size.width, | |
height :MediaQuery.of(context).size.height * 0.60, | |
// color : Colors.amber[100], | |
// color : widget.backGroundColor, | |
// height :10, | |
decoration: BoxDecoration( | |
gradient: LinearGradient( | |
begin: Alignment.topCenter, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final double screenHeight = MediaQuery.of(context).size.height; | |
final double keyboardHeight = MediaQuery.of(context).viewInsets.bottom; | |
return Scaffold( | |
resizeToAvoidBottomInset: false, | |
body: SizedBox( | |
height: screenHeight - keyboardHeight, | |
child: SingleChildScrollView( | |
child: Column( | |
children: [ | |
const SizedBox(height: 200), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
String utf8convert(String text) { | |
List<int> bytes = text.toString().codeUnits; | |
return utf8.decode(bytes); | |
} |