What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-17 19:20:05
showModalBottomSheet keyboard issue
showModalBottomSheet( shape: RoundedRectangleBorder( borderRadius: BorderRadius.vertical(top: Radius.circular(25.0))), backgroundColor: Colors.black, context: context, isScrollControlled: true, builder: (context) => Padding... Add solution -
Other 2022-03-05 22:40:05
mengganti warna background flutt
appBar: AppBar( leading: IconButton( icon: Icon( Icons.arrow_back ), onPressed: () { Navigator.of(context).pop(); } ), iconTheme: IconThemeData( color: Colors.red, //change your color here ), backgroundColor: Colors.blue, title: Text("A... Add solution -
Other 2022-03-02 23:15:04
flutter custom appbar
// ./components/appBar.dart import 'package:flutter/material.dart'; class CustomAppBar extends StatelessWidget with PreferredSizeWidget { final String _title; @override final Size preferredSize; CustomAppBar(this._title, { Key key}) : preferred... Add solution -
Other 2022-01-27 22:15:40
flutter tab bar bottom bar
int _selectedIndex = 0; static const TextStyle optionStyle = TextStyle(fontSize: 30, fontWeight: FontWeight.bold); static const List<Widget> _widgetOptions = <Widget>[ Text( 'Index 0: Home', style: optionStyle, ), Text( 'Inde... Add solution -
Other 2022-01-25 02:00:27
how read all messages in mobile flutter
class MyInbox extends StatefulWidget{ @override State createState() { // TODO: implement createState return MyInboxState(); } } class MyInboxState extends State{ SmsQuery query = new SmsQuery(); List messages=new List(); @override i... Add solution -
Other 2022-01-24 03:51:59
splashscreen dependency
import 'package:flutter/material.dart'; import 'package:splashscreen/splashscreen.dart'; void main(){ runApp(new MaterialApp( home: new MyApp(), )); } class MyApp extends StatefulWidget { @override _MyAppState createState() => new _MyApp... Add solution -
Other 2021-11-21 15:13:14
Custom AppBar Flutter
// ./components/appBar.dart import 'package:flutter/material.dart'; class CustomAppBar extends StatelessWidget with PreferredSizeWidget { final String _title; @override final Size preferredSize; CustomAppBar(this._title, { Key key}) : preferred... Add solution -
Java 2021-11-19 20:36:21
sliverlist flutter example
#In the below example, we will see how to use the SliverList with CustomScrollView. import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext con... Add solution