We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import 'package:flutter/material.dart'; import 'package:yaru/yaru.dart'; import 'package:yaru_widgets/yaru_widgets.dart'; void main() { runApp( YaruTheme( builder: (context, yaru, child) => MaterialApp( theme: yaru.theme, darkTheme: yaru.darkTheme, home: const MyHomePage(), ), ), ); } class MyHomePage extends StatelessWidget { const MyHomePage({super.key}); @override Widget build(BuildContext context) { return Scaffold( body: Padding( padding: const EdgeInsets.all(kYaruPagePadding), child: Table( border: TableBorder.all(color: Theme.of(context).dividerColor), children: [ const TableRow( children: [ SizedBox.shrink(), Text('Material'), Text('Yaru'), ], ), TableRow( children: [ const Text('Checkbox'), Checkbox(value: true, onChanged: (_) {}), YaruCheckbox(value: true, onChanged: (_) {}), ], ), TableRow( children: [ const Text('Radio'), Radio(value: true, groupValue: true, onChanged: (_) {}), YaruRadio(value: true, groupValue: true, onChanged: (_) {}), ], ), TableRow( children: [ const Text('Switch'), Switch(value: true, onChanged: (_) {}), YaruSwitch(value: true, onChanged: (_) {}), ], ), ], ), ), ); } }
The text was updated successfully, but these errors were encountered:
Jupi007
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: