Skip to content

Instantly share code, notes, and snippets.

View ihsanberahim-openmindsresources's full-sized avatar

ihsanberahim-openmindsresources

View GitHub Profile
@ihsanberahim-openmindsresources
ihsanberahim-openmindsresources / main.dart
Created October 7, 2023 02:10
Clip Container Example
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class RibbonStart extends CustomClipper<Path> {
@override
void main() {
// Object field is reference
Map<String, dynamic> var1 = {
'field': 'one'
};
Map<String, dynamic> var2 = var1;
var2['field'] = 'three';