3.4 - Flutter Checkbox and CheckboxListTile Widget - Flutter Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 19

  • @akowechristian9520
    @akowechristian9520 2 ปีที่แล้ว +1

    Great tutorials, thanks for taking your time to teach us.

  • @mostafaemon5467
    @mostafaemon5467 ปีที่แล้ว

    Your videos are extremely helpful. You are a good teacher. ❤

  • @ithaershihabaion1634
    @ithaershihabaion1634 5 หลายเดือนก่อน

    Best Lectures i have ever seen.🥰

    • @CodingwithT
      @CodingwithT  5 หลายเดือนก่อน

      Thank you 🤩

  • @gigamgamboa828
    @gigamgamboa828 11 หลายเดือนก่อน

    got it. love you :P

  • @amcheachamroeun2716
    @amcheachamroeun2716 2 ปีที่แล้ว +2

    Can you provide source code to this part I cannot catch it. I am new to it and really like the way you are teaching.

    • @CodingwithT
      @CodingwithT  2 ปีที่แล้ว

      I'll try to share the code ASAP please mail me at support@codingwithT.com ☺️. Thank you for your kind words 😎🤠.

  • @sofsof2009
    @sofsof2009 ปีที่แล้ว

    How to pass the data from the checkboxlistetile ?thanks for the tuto

    • @CodingwithT
      @CodingwithT  ปีที่แล้ว +1

      There are multiple ways and also it depends weather you have one or multiple checkboxes.
      Here is the one way...
      Create a bool variable and make it true when onChanged Event called in Checkbox or to toggle you can use isChecked = !isChecked;
      With this you can easily toogle with values and pass the final value when form submitted

  • @mdnadimulislam4106
    @mdnadimulislam4106 2 ปีที่แล้ว +2

    Brother teach us to create vpn app a to z🙏🙏plz

    • @CodingwithT
      @CodingwithT  2 ปีที่แล้ว +3

      Great suggestion bro. Actually I'm about to start an e-commerce app but after that I'll create vpn app.
      No worries 🤠😊

  • @sale7680
    @sale7680 ปีที่แล้ว

    Bravo

  • @Prakashkexlin
    @Prakashkexlin ปีที่แล้ว

    sir y can u show entire code sir.......

  • @thecseacademy
    @thecseacademy 2 ปีที่แล้ว +1

    class CustomCheckBox extends StatefulWidget {
    final bool tristate, value;
    final String text;
    const CustomCheckBox(
    {Key? key,
    required this.tristate,
    required this.value,
    required this.text})
    : super(key: key);
    @override
    State createState() =>
    _CustomCheckBoxState(tristate, value, text);
    }
    class _CustomCheckBoxState extends State {
    final bool tristate;
    bool? checkBoxValue;
    final String text;
    _CustomCheckBoxState(this.tristate, this.checkBoxValue, this.text);
    @override
    Widget build(BuildContext context) {
    return Column(
    children: [
    Row(
    children: [
    Checkbox(
    tristate: tristate,
    value: checkBoxValue,
    onChanged: (value) {
    setState(() {
    checkBoxValue = value;
    });
    }),
    Text(
    text,
    style: const TextStyle(color: Colors.blueAccent),
    ),
    ],
    ),
    ],
    );
    }
    }
    here is my assignment @codingwithtea. Please share your feedback

    • @CodingwithT
      @CodingwithT  2 ปีที่แล้ว

      I'll check that shortly. 😃✌️