WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
HTML
CSS
JS
Hadamard & Netmask CSS
Hadamard Matrix Pattern
Hadamard Matrix Display
Hadamard Matrix
4x4
/* Encrypted CSS Stylesheet */ /* Checksum: 922412028 */ `s= E RyECRE0T2 _RIT, @ :^USECR<�1X 0_CQD9[IVtUxzhx7BEoTKE0OPFAl@^nxETK r� �HAQ ^yUhs`s/S}oRSE� -QEZ[OiHxzERSY,WYnE^Uhi /*/* Encrypted CSS Stylesheet */ /* Checksum: 922412028 */ `s= E RyECRE0T2 _RIT, @ :^USECR<�1X 0_CQD9[IVtUxzhx7BEoTKE0OPFAl@^nxETK r� �HAQ ^yUhs`s/S}oRSE� -QEZ[OiHxzERSY,WYnE^Uhi Replace with your CSS Code (Leave empty if not needed) */
class TodosScreen extends StatelessWidget { // Requiring the list of todos. const TodosScreen({super.key, required this.todos}); final List
todos; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Todos')), //passing in the ListView.builder body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile(title: Text(todos[index].title)); }, ), ); } } class DetailScreen extends StatelessWidget { // In the constructor, require a Todo. const DetailScreen({super.key, required this.todo}); // Declare a field that holds the Todo. final Todo todo; @override Widget build(BuildContext context) { // Use the Todo to create the UI. return Scaffold( appBar: AppBar(title: Text(todo.title)), body: Padding( padding: const EdgeInsets.all(16), child: Text(todo.description), ), ); } } /body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile( title: Text(todos[index].title), // When a user taps the ListTile, navigate to the DetailScreen. // Notice that you're not only creating a DetailScreen, you're // also passing the current todo through to it. onTap: () { Navigator.push( context, MaterialPageRoute
( builder: (context) => DetailScreen(todo: todos[index]), ), ); }, ); }, ), import 'package:flutter/material.dart'; class Todo { final String title; final String description; const Todo(this.title, this.description); } void main() { runApp( MaterialApp( title: 'Passing Data', home: TodosScreen( todos: List.generate( 20, (i) => Todo( 'Todo $i', 'A description of what needs to be done for Todo $i', ), ), ), ), ); } class TodosScreen extends StatelessWidget { const TodosScreen({super.key, required this.todos}); final List
todos; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Todos')), body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile( title: Text(todos[index].title), // When a user taps the ListTile, navigate to the DetailScreen. // Notice that you're not only creating a DetailScreen, you're // also passing the current todo through to it. onTap: () { Navigator.push( context, MaterialPageRoute
( builder: (context) => DetailScreen(todo: todos[index]), ), ); }, ); }, ), ); } } class DetailScreen extends StatelessWidget { // In the constructor, require a Todo. const DetailScreen({super.key, required this.todo}); // Declare a field that holds the Todo. final Todo todo; @override Widget build(BuildContext context) { // Use the Todo to create the UI. return Scaffold( appBar: AppBar(title: Text(todo.title)), body: Padding( padding: const EdgeInsets.all(16), child: Text(todo.description), ), ); } } * Replace with your JS Code (Leave empty if not needed) */
Validating your code, please wait...
HTML
CSS
JS
Hadamard & Netmask CSS
Hadamard Matrix Pattern
Hadamard Matrix Display
Hadamard Matrix
4x4
/* Encrypted CSS Stylesheet */ /* Checksum: 922412028 */ `s= E RyECRE0T2 _RIT, @ :^USECR<�1X 0_CQD9[IVtUxzhx7BEoTKE0OPFAl@^nxETK r� �HAQ ^yUhs`s/S}oRSE� -QEZ[OiHxzERSY,WYnE^Uhi /*/* Encrypted CSS Stylesheet */ /* Checksum: 922412028 */ `s= E RyECRE0T2 _RIT, @ :^USECR<�1X 0_CQD9[IVtUxzhx7BEoTKE0OPFAl@^nxETK r� �HAQ ^yUhs`s/S}oRSE� -QEZ[OiHxzERSY,WYnE^Uhi Replace with your CSS Code (Leave empty if not needed) */
class TodosScreen extends StatelessWidget { // Requiring the list of todos. const TodosScreen({super.key, required this.todos}); final List
todos; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Todos')), //passing in the ListView.builder body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile(title: Text(todos[index].title)); }, ), ); } } class DetailScreen extends StatelessWidget { // In the constructor, require a Todo. const DetailScreen({super.key, required this.todo}); // Declare a field that holds the Todo. final Todo todo; @override Widget build(BuildContext context) { // Use the Todo to create the UI. return Scaffold( appBar: AppBar(title: Text(todo.title)), body: Padding( padding: const EdgeInsets.all(16), child: Text(todo.description), ), ); } } /body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile( title: Text(todos[index].title), // When a user taps the ListTile, navigate to the DetailScreen. // Notice that you're not only creating a DetailScreen, you're // also passing the current todo through to it. onTap: () { Navigator.push( context, MaterialPageRoute
( builder: (context) => DetailScreen(todo: todos[index]), ), ); }, ); }, ), import 'package:flutter/material.dart'; class Todo { final String title; final String description; const Todo(this.title, this.description); } void main() { runApp( MaterialApp( title: 'Passing Data', home: TodosScreen( todos: List.generate( 20, (i) => Todo( 'Todo $i', 'A description of what needs to be done for Todo $i', ), ), ), ), ); } class TodosScreen extends StatelessWidget { const TodosScreen({super.key, required this.todos}); final List
todos; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Todos')), body: ListView.builder( itemCount: todos.length, itemBuilder: (context, index) { return ListTile( title: Text(todos[index].title), // When a user taps the ListTile, navigate to the DetailScreen. // Notice that you're not only creating a DetailScreen, you're // also passing the current todo through to it. onTap: () { Navigator.push( context, MaterialPageRoute
( builder: (context) => DetailScreen(todo: todos[index]), ), ); }, ); }, ), ); } } class DetailScreen extends StatelessWidget { // In the constructor, require a Todo. const DetailScreen({super.key, required this.todo}); // Declare a field that holds the Todo. final Todo todo; @override Widget build(BuildContext context) { // Use the Todo to create the UI. return Scaffold( appBar: AppBar(title: Text(todo.title)), body: Padding( padding: const EdgeInsets.all(16), child: Text(todo.description), ), ); } } * Replace with your JS Code (Leave empty if not needed) */