Skip to content

Instantly share code, notes, and snippets.

View omishah's full-sized avatar
🏠
Working at @codecyan

OMi Shah omishah

🏠
Working at @codecyan
View GitHub Profile
@omishah
omishah / main.dart
Last active March 24, 2022 04:48
Flutter - ListView with pagination
// @author OMi Shah
// @email [email protected]
// @organization CodeCyan
// @website www.codecyan.com
import 'package:flutter/material.dart';
void main() => runApp(CodeCyanApp());
class CodeCyanApp extends StatelessWidget {
@omishah
omishah / main.dart
Last active March 21, 2022 09:26
Flutter - Complex layout
// @author OMi Shah
// @email [email protected]
// @organization CodeCyan
// @website www.codecyan.com
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
@omishah
omishah / main.dart
Last active March 21, 2022 09:25
Flutter - Responsive Container with Image, Title & Description
// @author OMi Shah
// @email [email protected]
// @organization CodeCyan
// @website www.codecyan.com
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
@omishah
omishah / main.dart
Last active March 21, 2022 09:25
Flutter - Round out corners tab bar
// @author OMi Shah
// @email [email protected]
// @organization CodeCyan
// @website www.codecyan.com
import 'package:flutter/material.dart';
void main() {
runApp(const CodeCyanApp());
}
@omishah
omishah / main.dart
Created March 24, 2022 04:46
Flutter - Define/include/initialize/declare routes from different dart files
// @author OMi Shah
// @email [email protected]
// @organization CodeCyan
// @website www.codecyan.com
import 'package:flutter/material.dart';
void main() {
runApp(CodeCyanApp());
}
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {