Skip to content

Instantly share code, notes, and snippets.

View Mastersam07's full-sized avatar
🚀
building amazing things

Samuel Abada Mastersam07

🚀
building amazing things
View GitHub Profile
@Mastersam07
Mastersam07 / bottom_sheet.dart
Created February 1, 2024 18:24 — forked from slightfoot/bottom_sheet.dart
Modal Bottom Sheet with Input Fields fix for Flutter (Fix issue with overlap with keyboard and fix for tapping to dismiss)
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
@Mastersam07
Mastersam07 / deep_link_service.dart
Created January 15, 2023 22:30 — forked from Meghatronics/deep_link_service.dart
Deep link service with firebase impl
@Mastersam07
Mastersam07 / Getting-started-with-dapps.md
Created July 30, 2022 12:19 — forked from Olanetsoft/Getting-started-with-dapps.md
Series 1: Mara Blockchain Masterclass - Nigeria

Series 1: Mara Blockchain Masterclass - Nigeria

This workshop is targeted at developers who are transitioning from Web2 to Web3 or have just recently gotten into Web3 and are looking to have a well-rounded foundation.

This first workshop is Series 1 in the three-part series that aims to introduce you to the blockchain and how to build on the blockchain.

Steps to set up a project, build and deploy a smart contract.

Step 1

import 'package:flutter/material.dart';
class MoneyRange extends StatefulWidget {
MoneyRange({Key? key}) : super(key: key);
@override
_MoneyRangeState createState() => _MoneyRangeState();
}
class _MoneyRangeState extends State<MoneyRange> {
@Mastersam07
Mastersam07 / gist:f8ca05bdce771d65c970f741616d2e94
Created December 25, 2021 15:56 — forked from montyr75/gist:09b5dc9a20ba01955872
Find the last day of the current month with Dart's DateTime class.
final now = DateTime.now();
final lastDayOfMonth = DateTime(now.year, now.month + 1, 0);
print("${lastDayOfMonth.month}/${lastDayOfMonth.day}");
class DeviceInfoData {
final String deviceModel;
final String deviceId;
final String appVersion;
const DeviceInfoData(
{@required this.deviceModel,
@required this.deviceId,
@required this.appVersion});
}
@Mastersam07
Mastersam07 / dynamic_link_service.dart
Created December 15, 2021 07:05 — forked from Meghatronics/dynamic_link_service.dart
A dart service to handle dynamic (deep) linking for flutter apps using firebase.
@Mastersam07
Mastersam07 / main.dart
Created December 3, 2021 06:51 — forked from passsy/main.dart
Example of a stacked card list in flutter using Slivers
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(Kata());
}
class Kata extends StatelessWidget {
@override
81 Different Ways to Promote Your Mobile App / Game
You’ve spent weeks/months – designing and developing your app. It takes a lot of time to get it just the way you want it, but when you launch on the App Store, you barely get any downloads/installs for it. What happened?
Consider that making an application takes a lot of time, but that’s only half of it. How you promote your app, will take you just as long (If you’re doing it right).
Tapgage has kept a close eye on the Mobile App Industry for the past year, we’ve seen great new ways to help developers promote and monetize applications. Below are over 80 different ways, tips and tricks you can use to promote your new and old apps.
1) Have a catchy Title that stands out from the rest. (Blog post )
@Mastersam07
Mastersam07 / gist:79ab77364d197a73f666b147c34c443d
Created December 21, 2020 09:26 — forked from Nkwachi-N/gist:f0bd736d55a513f99a0f0033588a0e7c
Youtube Music bottom Sheet Animation Recreation.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:rubber/rubber.dart';
class MenuPage extends StatefulWidget {
MenuPage({Key key}) : super(key: key);
@override
_MenuPageState createState() => _MenuPageState();
}