Комментарии:
Thank you and wow this is soo nice, you're da best, you explaining the method one by one and I understand with it. Nice and thanks for making this good tutorial, I haven't found someone who explain their method as well as this. Once again thank you for your hard work I really appreciate it 👏👏.
ОтветитьI think TaskRepository should be under task folder in services instead of being in storage folder? what you guys think?
Ответитьcolors
const purple = Color(0xFF756BFC);
const pick = Color(0xFFF1A39A);
const deepPink = Color(0xFFFA63C6);
const green = Color(0xFF41CF9F);
const yellow = Color(0xFFEEC38E);
const lightBlue = Color(0xFF42A5F5);
const blue = Color(0xFF2B60E6);
icons:
const personIcon = 0xe491;
const worklcon = 0xe11c;
const movieIcon = 0xe40f;
const sporticon = 0xe4dc;
const travelIcon = 0xe071;
const shoplcon = 0xe59c;
Colors:
import 'package:flutter/material.dart';
const purble = Color(0xFF756BFC);
const pink = Color(0xFFF1A39A);
const deepPink = Color(0xFFFA63C6);
const green = Color(0xFF41CF9F);
const yellow = Color(0xFFEEC38E);
const lightBlue = Color(0xFF42A5F5);
const blue = Color(0xFF2B60E6);
CODE FOR THE "extension.dart" file is below ⬇
import 'package:flutter/material.dart';
import 'package:get/get.dart';
extension PercentSized on double {
double get hp => (Get.height * (this / 100));
double get wp => (Get.width * (this / 100));
}
extension ResponsiveText on double {
double get sp => (Get.width / 100 * (this / 3));
}
extension HexColor on Color {
/// String is in the format "aabbcc" or "ffaabbcc" with an optional leading "#".
static Color fromHex(String hexString) {
final buffer = StringBuffer();
if (hexString.length == 6 || hexString.length == 7) buffer.write('ff');
buffer.write(hexString.replaceFirst('#', ''));
return Color(int.parse(buffer.toString(), radix: 16));
}
/// Prefixes a hash sign if [leadingHashSign] is set to `true` (default is `true`).
String toHex({bool leadingHashSign = true}) => '${leadingHashSign ? '#' : ''}'
'${alpha.toRadixString(16).padLeft(2, '0')}'
'${red.toRadixString(16).padLeft(2, '0')}'
'${green.toRadixString(16).padLeft(2, '0')}'
'${blue.toRadixString(16).padLeft(2, '0')}';
}
Awesome
Ответитьdo I have to subscribe to your patreon to complete this course??
Ответитьpls
Ответитьcan you give me the code of extension file
]
can i know the missing code missed out in the extensions file?? anyone can help me
ОтветитьCan you please explain the difference between provider and repository... Thank you
ОтветитьVery bad audio. Instead of putting bad audio videos, you should have directly said that - refer to my Udemy course
ОтветитьCan you please explain the difference between provider and repository... Thank you
Ответитьwhere i can get the pict of mindmaster of getX?
Ответитьhello, can you give a link to the getX design pattern document you are looking at? Anyway wonderful work bro. ❤️
ОтветитьAre these codes only for ios or android as well?
Ответитьhi teacher, could you explain to me why use the operator ?? in dart code?
ОтветитьBloc please
ОтветитьWhich flutter version you use in this project?
Ответить