Only iPhone 😭

Reply to this note

Please Login to reply.

Discussion

ChatGPT: hold my beer

import 'package:flutter/material.dart';

class ContentView extends StatefulWidget {

@override

_ContentViewState createState() => _ContentViewState();

}

class _ContentViewState extends State {

bool _isToggle1On = true;

bool _isToggle2On = false;

@override

Widget build(BuildContext context) {

return Scaffold(

body: Padding(

padding: EdgeInsets.all(16.0),

child: Column(

crossAxisAlignment: CrossAxisAlignment.start,

children: [

SwitchListTile(

title: Text('nostr'),

value: _isToggle1On,

onChanged: (value) {

setState(() {

_isToggle1On = value;

});

},

activeTrackColor: Colors.purple[200],

activeColor: Colors.purple,

),

SwitchListTile(

title: Text('Twitter'),

value: _isToggle2On,

onChanged: (value) {

setState(() {

_isToggle2On = value;

});

},

activeTrackColor: Colors.blue[200],

activeColor: Colors.blue,

),

],

),

),

);

}

}

I also asked ChatGPT to give me music player for react/NextJS Lolll Niceeeee I see what you doing. Singularity 🤣

👀