3

0QNiWhJJlNoVMj_ZuI_X.dart

 2 years ago
source link: https://gist.github.com/CodelesslyInc/8990e1424a4e770c869919da93d042c0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

0QNiWhJJlNoVMj_ZuI_X.dart · GitHub

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';

void main() { runApp(const MyApp()); }

class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key);

@override Widget build(BuildContext context) { return const MaterialApp( title: 'MyApp Demo', home: Scaffold( body: Center( child: SingleChildScrollView( child: Checkbox1Widget(), ), ), ), debugShowCheckedModeBanner: false, ); } }

class Checkbox1Widget extends StatelessWidget { const Checkbox1Widget({Key? key}) : super(key: key);

@override Widget build(BuildContext context) { return SizedBox.square( dimension: 160, child: Transform.scale( scale: 5, child: Checkbox( value: false, onChanged: (value) {}, splashRadius: 20, checkColor: Colors.white, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(3.0), ), activeColor: Colors.black, side: const BorderSide( color: Color(0xFF7F7F7F), width: 1.5, ), hoverColor: const Color(0x197F7F7F), focusColor: const Color(0x197F7F7F), ), ), ); } }


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK