codeofland 0.0.3 copy "codeofland: ^0.0.3" to clipboard
codeofland: ^0.0.3 copied to clipboard

My Core Components Archive For use My All Project

Welcom To My Package #

My Contact Info #

Youtube Channel : https://youtube.com/@HalilUcel #

Mail Address : hucelsoft@gmail.com #

My Gihthub : https://github.com/HalilUcel14 #

Linkedin : https://www.linkedin.com/in/halilucel/ #

<------------------------------------------------------------------> #

Installing #

Tr: Paketimizi projenize eklemek için aşağıdaki adımları takip edebilirsiniz. En: bla bla bla

Code sample: Base Model #

What does it do : Base Model Service Example Ne işe yarar: Base Model Servis Örneği


    // En: This code is available in the package. You just need to call.
    // TR: Bu kod paketin içerisinde mevcuttur. Sadece çağırmanız yeterlidir.
    abstract class BaseModel<T> {
        Map<String, dynamic> toJson();
        T fromJson(Map<String, dynamic> json) ;
    }

    //------------------[USAGE]----------------------
    //------------------[KULLANIM]-------------------
    class ExampleModel extends BaseModel<ExampleExtends>{
        // bla bla code
        // bla bla code
    }
    // -------------------[Sample]---------------------
    class NoteModel extends BaseModel<NoteModel>{
        String? note;
        String? title;

        NoteModel({this.note,this.title});

        @override
        NoteModel fromJson(Map<String,dynamic> json){
            return NoteModel(
                title: json['title'],
                note: json['note'],
            );
        }

        @override
        Map<String, dynamic> toJson(){
            return {
                'note': note,
                'title': title,
            };
        }

    }

Code sample: Extension Context Extension #

What does it do : Navigator Extension Ne işe yarar: Navigator Eklentisi

    // Navigator on BuildContext .Dot Function
    ElevatedButton(
        // context. pushReplacement - push - pop and many function
        onPressed: () => context.push(HomeWidget()),
        child: Text('Goto Home Widget');
    );

-----------------------------------------------------------

What does it do : Screen Size Extension Ne işe yarar: Screen Size Eklentisi

    // Screen Size Height or Width on BuildContext .Dot Function
    Text(
        'Selam Naber'
        style: TextStyle(
            // context.screenWidth or context.screenHeight
            fontSize: context.screenHeight / 2
        ),
    );

------------------------------------------------------------

What does it do : Theme Data Extension Ne işe yarar: Theme Data Eklentisi


    Text(
        'Text Yazısıdır. Context içerisinden textStyle getirebilirsin'
        style: context.textTheme.titleLarge
    );

-------------------------------------------------------------

What does it do : Numeric Extension Ne işe yarar: Numeric Eklentisi


    Column(
        children[
            Container(),
            //
            AnyWidget(),
            // Any Number . widthBox or highBox use Space Widget
            24.widthBox
            //
            AnyWidget(),
        ]
    );

--------------------------------------------------------------

What does it do : Firebase Auth Manager Ne işe yarar: Firebase Auth Manager


    Column(
        children[
            Container(),
            //
            AnyWidget(),
            // Any Number . widthBox or highBox use Space Widget
            24.widthBox
            //
            AnyWidget(),
        ]
    );

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

My Core Components Archive For use My All Project

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

firebase_auth, firebase_core, flutter

More

Packages that depend on codeofland