Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Building great stuff!

nitin mehta nitinmehtaa

👨‍💻
Building great stuff!
View GitHub Profile
@nitinmehtaa
nitinmehtaa / RaisedButton_sample.dart
Created Apr 28, 2019
Checking RaisedButton text style in Cupertino Widget and Material Widget - Flutter
View RaisedButton_sample.dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return CupertinoApp(
home: HomeScreen(),
);
@nitinmehtaa
nitinmehtaa / listview_withdialog.dart
Created Apr 28, 2019
ListView with edit dialog in flutter
View listview_withdialog.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp(
items: List<String>.generate(100, (i) => "List item $i"),
));
}
Future<String> _asyncInputDialog(BuildContext context) async {